Welcome, Guest
Username: Password: Remember me

TOPIC: Create simple geometry in Blue Kenue

Create simple geometry in Blue Kenue 6 years 2 weeks ago #31894

  • a.barton
  • a.barton's Avatar
  • OFFLINE
  • Moderator
  • Posts: 683
  • Thank you received: 178
Hello Everyone,

I've added a little utility to Blue Kenue under File -> New -> Simple Geometry... to allow someone here at NRC to create precisely positioned circles for there projects. However, I generalized the code and so one can easily create points, lines, triangles, squares, pentagons, hexagons, etc.

I've attached a screen snapshot of examples of things it can create along with a snapshot of the dialog box that controls it. Note that the items entered into the dialog box will become metadata on the created object, so that if you saved the object to a file, then the controlling metadata will not be lost.

Before I release the next Blue Kenue containing it, does anyone have any suggestions for small (or large!) tweaks to this?

Kindly,
Alan

2018-10-24_example-outputs.png


2018-10-24a_parallelogram.png
The administrator has disabled public write access.
The following user(s) said Thank You: c.coulet, wenjun

Create simple geometry in Blue Kenue 6 years 2 weeks ago #31895

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi Alan
This is a great news as this functionality is missing for a long time.
I requested this to Martin long time ago and provided him a small source code to design bridge pile I've done to create i2s file (circular, rectangular, ellipsoidal or a combination of these basic form) but he didn't had time to integrate him.
So as a request, it could be great if we could automatically manage higher more complex form like a rectangle with half a circle or ellipse on extremity.
This is a common form of bridge pile...
It could be great if you could also enter the rotation angle in various units. In France, on a large project, all plan I received give the angle in grades... So avoiding external conversion could limit the error

Nevertheless, thanks for the enhancement

Kind regards
Christophe
The administrator has disabled public write access.
The following user(s) said Thank You: a.barton

Create simple geometry in Blue Kenue 6 years 2 weeks ago #31896

  • sebourban
  • sebourban's Avatar
  • OFFLINE
  • Administrator
  • Principal Scientist
  • Posts: 814
  • Thank you received: 219
Hello Alan,

Very good feature - and I agree with Christophe.
As an easy improvement, can you also make these 3D (first as an vertical extrusion, or as a vertical or horizontal rotation around an axis). I know EnSim has the capability to handle, save and visualise 3D objects. The picture below is an example of screen capture made at the time I was in Ottawa working with Martin.

Good work anyhow, thanks,

Sébastien.

HRWallingford-famous-piledepon3d.png
The administrator has disabled public write access.
The following user(s) said Thank You: a.barton

Create simple geometry in Blue Kenue 6 years 2 weeks ago #31897

  • sebourban
  • sebourban's Avatar
  • OFFLINE
  • Administrator
  • Principal Scientist
  • Posts: 814
  • Thank you received: 219
Alan,

Also as a quick note, maybe you should leave the shift XY to the Edit menu (where it is currently), and add a rotate item below within the same menu, and the 3D extensions (extrude, rotate a 2D shape into a 3D volume, etc) ... with any of these actions recorded in the metadata of the object when the user use these.

This way, you simplify your shape parameterisation dialogue by focusing on what defines the shape, and provide more flexibility to the user for further modifying objects.

Cheers,
Sébastien.
The administrator has disabled public write access.
The following user(s) said Thank You: a.barton

Create simple geometry in Blue Kenue 6 years 2 weeks ago #31899

  • a.barton
  • a.barton's Avatar
  • OFFLINE
  • Moderator
  • Posts: 683
  • Thank you received: 178
Thank you for your comments :whistle:

Here is a mockup of what I'm hearing from you... please feel free to suggest further improvements on the mockup if you wish

Kindly,
Alan

2018-11-06_mockup.png
The administrator has disabled public write access.

Create simple geometry in Blue Kenue 6 years 2 weeks ago #31900

  • a.barton
  • a.barton's Avatar
  • OFFLINE
  • Moderator
  • Posts: 683
  • Thank you received: 178
Sorry... previous snapshot didn't include the 3D suggestion. Here it is

2018-11-06b_mockup.png
The administrator has disabled public write access.

Create simple geometry in Blue Kenue 6 years 2 weeks ago #31901

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi Alan

My idea was more to give direct access to some standard shape like:

circular.png

ellipse.png

rectangle.png

rectangle_circular.png

rectangle_ellipse.png


and some other like you've done for triangle.
Christophe
The administrator has disabled public write access.
The following user(s) said Thank You: a.barton

Create simple geometry in Blue Kenue 6 years 2 weeks ago #31902

  • a.barton
  • a.barton's Avatar
  • OFFLINE
  • Moderator
  • Posts: 683
  • Thank you received: 178
From you you've said, it seems to me that you're looking more for a shape library?
  • File -> New -> Shape -> 2D Circle
  • File -> New -> Shape -> 3D Pier
  • File -> New -> Shape -> 2D Rectangle
  • ...

I think that keeping the dialog as I have it AND adding a rotation unit choice will give quite a few new shape possibilities. Then a separate menu item could be created for more complex shapes... like "pier"...

In addition, I'm also willing share peoples shapes on CHyMS if they'd like to make them publicly available? I could setup a little area specifically for Blue Kenue and make that public... if it would help ease any "pains" :silly:
The administrator has disabled public write access.

Create simple geometry in Blue Kenue 6 years 2 weeks ago #31903

  • sebourban
  • sebourban's Avatar
  • OFFLINE
  • Administrator
  • Principal Scientist
  • Posts: 814
  • Thank you received: 219
That is a good idea Alan (for the shared site and for a library of simple shapes just as the library of File >> Base Maps ?)

Also, I was think of not putting the rotation / scaling / translation within the Edit >> menu (just like Sift in X/Y (as long as these operations are recorded in the metadata. I understand if you prefer having one dialogue though.

Sébastien.
The administrator has disabled public write access.
The following user(s) said Thank You: a.barton

Create simple geometry in Blue Kenue 6 years 2 weeks ago #31905

  • a.barton
  • a.barton's Avatar
  • OFFLINE
  • Moderator
  • Posts: 683
  • Thank you received: 178
This was originally intended to be "simple" and I can see lots of room for improvement. So, with that said, I think this is a good spot to stop (for now) and then let's see what happens when it is actually used...

Kindly,
Alan

The following image shows all of the units that have been implemented. Are there any others that I'm missing?

2018-11-06b_new-simple-geometry.png
The administrator has disabled public write access.
Moderators: Serrer, a.barton

The open TELEMAC-MASCARET template for Joomla!2.5, the HTML 4 version.