MoI discussion forum
MoI discussion forum

Full Version: New Section command

Show messages:  1-9  10-29  30-49

From: Phiro
10 Aug   [#30]
Hi,

Very impressive function.
I don't know how I will use it and exploit this potential but I will find...

I have questions :

When I select a surface of a solid or joinedSurf and use "Section", MoI respond "Select solids to section". --- > Normal

When I select a curve and use "Section", MoI respond "Select solids to section". --- > Normal

When I select a lonely single surface and use "Section", MoI respond with an error :

TypeError: undefined is not an object (evaluating 'bbox.center.x')
Section.js line 87
MoI avoid the view of the surface (not deleted but not visible since moved or save/reload.

Is it possible that MoI respond with "Select solids to section"

And when I use "Section" on a joined surface, the result could be strange because MoI have problems to know how to cut.
Perhaps could You limit the use of Secition only on solid and deny all other type of objects ?
From: BurrMan
10 Aug   [#31] In reply to [#26]
"""""""""""""""I'm thinking maybe it could get an icon on the View tab in the side pane"""""""""""

Cyrus says "I can dig it!"
From: MO (MO_TE)
10 Aug   [#32]
Thanks for the section command. It is a useful tool indeed. Often, I find myself drawing a straight line in one of the parallel views, then using that line to generate a projected curve on my objects for cutting faces or detailing. This requires some trial and error to get the best result.

I am wondering if it is possible to have the "Section Plane" outlines generate pseudo-projected lines on objects, as these results are much cleaner than standard projected lines. I believe an "outline" mode would be a great fit for this command.

Additionally, if you agree that an "outline" mode would be beneficial, it would be useful to have a way to retain both the object and the section outputs, as they can be used to construct curves for further modeling.
options such as: [None, Keep Section Geometry, Keep All].
From: BurrMan
10 Aug   [#33] In reply to [#26]
Michael,
A small anomaly for you to investigate before you get too deep.

Some of the "inner snaps" are missing on s simple object at first creation


From: Michael Gibson
10 Aug   [#34] In reply to [#32]
Hi MO,

re:
> I am wondering if it is possible to have the "Section Plane" outlines generate pseudo-projected
> lines on objects, as these results are much cleaner than standard projected lines.

Can you please post a file with an example of the desired result?

Thanks, - Michael
From: MO (MO_TE)
11 Aug   [#35] In reply to [#34]
Hi Michael,

Here are two example files. In the first file, you will see a cleaner result obtained by extracting the generated section plane.

I also did another experiment in file #2 where I compared the "Section plane edges extraction," "projecting a straight line," and "intersecting a surface" methods on normal and analytical surfaces. I found that the Curves/Isect command produces the best and cleanest results.
I'm not sure if using analytical surfaces actually makes a difference. In example 1, the curves generated from analytical surfaces have fewer points, but in example 2, the opposite is true.

Attachments:
outlineExample-1.3dm
outlineExample-2.3dm


From: Marc (TELLIER)
11 Aug   [#36]
The dimension tab could also be a good spot for this command.

Marc
From: 777RAVEN777
11 Aug   [#37]
Wow - seriously useful command!

Up till now I've been making copies of solids & slicing them up in different ways to get an idea of what's going on - this has made things way easier.

It's sometimetimes a little glitchy depending on complexity/number of solids, but that might just be my processor, and it gets there in the end ;)

Kudos to whoever came up with this!
From: blowlamp
12 Aug   [#38] In reply to [#37]
777RAVEN777

"Kudos to whoever came up with this!"

Rich asked and Michael delivered. ;-)
From: Frenchy Pilou (PILOU)
13 Aug   [#39]
Seems we can't give a color to the section(s) surface(s) during the process!

(or before in giving different colors to the surfaces' volumes like X= Red, Y = Green, Z = Blue)


From: Michael Gibson
13 Aug   [#40] In reply to [#39]
Hi Pilou, in "Section plane" mode, the generated plane will get the "active style" applied to it.

Go to the scene browser styles section and right click on a style's color swatch to set it as active.

- Michael
From: Frenchy Pilou (PILOU)
13 Aug   [#41] In reply to [#40]
Yep cool trick for give a color!

But it's only one color for all the surfaces and not each separately!

Sure I can at the exit of the function but...


From: Michael Gibson
13 Aug   [#42] In reply to [#41]
Hi PIlou,

re:
> But it's only one color for all the surfaces and not each separately!

You can do it separately if you run the Section command 3 separate times and only generate one section each time.

You can also set up a keyboard shortcut that will enable just one specific plane at a time, like this:

Section UseXY=true UseXZ=false UseYZ=false

- Michael
From: Michael Gibson
13 Aug   [#43] In reply to [#41]
@Pilou, it's also possible to automatically set a specific style to be the active style in a shortcut key as well, like this:

Section oncommandstart="var style=moi.geometryDatabase.findStyle( 'Rouge' ); moi.geometryDatabase.activeStyle=style.index;" UseXY=true UseXZ=false UseYZ=false

If you set that on a shortcut key when you press it, it should set the XY checkbox to be on, XZ and YZ checkboxes off and make a style named 'Rouge' to be the active style.

- Michael
From: Frenchy Pilou (PILOU)
13 Aug   [#44] In reply to [#43]
Yep so if i good understand I must have 3 different shortcuts! :)

Something like

Section oncommandstart="var style=moi.geometryDatabase.findStyle( 'Rouge' ); moi.geometryDatabase.activeStyle=style.index;" UseXY=true UseXZ=false UseYZ=false

Section oncommandstart="var style=moi.geometryDatabase.findStyle( 'Vert' ); moi.geometryDatabase.activeStyle=style.index;" UseXZ=true UseYX=false UseYZ=false

Section oncommandstart="var style=moi.geometryDatabase.findStyle( 'Bleu' ); moi.geometryDatabase.activeStyle=style.index;" UseYZ=true UseXY=false UseXZ=false

Yep but that is just successively ! :(
If i add a true there is 2 same colors!


From: Michael Gibson
13 Aug   [#45] In reply to [#44]
Hi Pilou,

re:
> Yep so if i good understand I must have 3 different shortcuts! :)

Yes that's correct.


> If i add a true there is 2 same colors!

Sorry I don't understand this part.

- Michael
From: Frenchy Pilou (PILOU)
13 Aug   [#46] In reply to [#45]
on my video above on the last image there 2 red planes because I add a "true" condition!

I can't have the 3 different colors in the same time !
From: Michael Gibson
13 Aug   [#47] In reply to [#46]
Hi Pilou,

re:
> I can't have the 3 different colors in the same time !

Yes that's correct, this command is not designed to make 3 different colors at the same time.

Is that something that you need to do frequently?

- Michael
From: Frenchy Pilou (PILOU)
13 Aug   [#48] In reply to [#47]
No aespecially but seems to me that will be just natural that "pushing" a section will show that you are in a primary axis (red , green , blue)
From: Michael Gibson
13 Aug   [#49] In reply to [#48]
@Pilou,

re:
> No aespecially but seems to me that will be just natural that "pushing" a surface
> will show that you are in a primary axis (red , green , blue)

To me that seems like it would be distracting. seeing a big red surface would seem to me like a "danger something's wrong" signal.

- Michael

Show messages:  1-9  10-29  30-49