MoI discussion forum
MoI discussion forum

Full Version: Flow as an "unfold tool"

Show messages:  1-7  8-27  28

From: Frenchy Pilou (PILOU)
21 May 2015   [#8] In reply to [#7]
The Offset function and UnWrapCurve script can't help you for some actions ?
http://moi3d.com/forum/messages.php?webtag=MOI&msg=5136.1
From: Mik (MIKULAS)
21 May 2015   [#9]
Hi Pilou,

you mean probably rotation faces without drawing auxiliary circles, it means choosing edge as axis of rotation and then offset the face.

Because it's possible to calculate compensated length of radius, maybe it's more handy to rotate the face using centre of radius and then move the face in right direction by calculated distance.

Mik
From: Mik (MIKULAS)
21 May 2015   [#10]
Understand you meant Pilou, I didn't see the thread link in your previous post.

Mik
From: Michael Gibson
21 May 2015   [#11] In reply to [#7]
Hi Mik,

> Question is, if it's possible to write script which can do this operation automatically. Length
> of radius should be let as variable which take into account material and tooling.

I'm not really sure if it's possible with the current stuff that's available to scripts... For example it's difficult for a script to analyze different geometric features of surfaces like find the center point of your bend, there just isn't currently a lot of functionality exposed for scripts to gather that type of information.

In the future I want to enhance the script layer to make more things available for scripts to access, something like this probably would not be feasible until that time.

- Michael
From: Frenchy Pilou (PILOU)
21 May 2015   [#12] In reply to [#11]
The function Join don't keep multi colors of the curves multicolored joined!
So when you Unwrap a curve "joined" it's monoclor so you can't see the differents extremities! :)



Flow yes! :)
So Flow the curves on their Unwrap! ;)
Have you the good result of your Unfold with this method ? Alas seems not!



script:/* Past Calculate lenght of selected curves inside the clipboard */ var crvs = moi.geometryDatabase.getSelectedObjects().getCurves(); var len = 0.0; for ( var i = 0; i < crvs.length; ++i ) len += crvs.item(i).getLength(); moi.copyTextToClipboard( len );

Seems the blue unfolded by Flow is not exactly the same or this tolerance is sufficient?
7,8539 8162216791 Blue Curve
7,8539 5062752401 Blue Unfolded by Flow

7,8539 8162216791 Unwraped is perfect!

So seems better use some Unwrap "unfold" method than Flow "unfold" method! :)

When you try Flow on the same place of some curves you can name them before then over put them
Select them with the Browser / Call the function Flow / Hide origin curve / Point the Base Curve etc...
Alas that change not the relative bad result of the Flow method! :)
From: Mik (MIKULAS)
22 May 2015   [#13] In reply to [#11]
Hi Michael,

OK, understand, don't worry and thank you for your time.

Mik
From: Mik (MIKULAS)
22 May 2015   [#14] In reply to [#12]
Hi Pilou,
many thanks for your reply. I'm not sure, but I think that I do the similar thing. When I prepare geometry to Flow - "Unfold" process I highlight edges of part profile first, then I use Offset command to take Base curve which goes in the middle of material thickness. Offset curve is Joined automatically. This curve I Unwrap as a target curve. After that I highlight part (solid), point the Base Curve, then Target curve and then I obtain planar solid. If I color faces before Flow, so result is planar solid with coloured faces. Each unfolded face correspond to original.

I've tried to use your script but I'm not sure if I use it correctly. I choose some curve run the script by shortcut and in clipboard is saved length of selected curve.

May I ask you for explanation in more details, please.
Thanks a lot.

Mik
From: Frenchy Pilou (PILOU)
22 May 2015   [#15] In reply to [#14]
<<< I choose some curve run the script by shortcut and in clipboard is saved length of selected curve.

Yes it's exactly this! :)
The value of the lenght of any curve(s) selected is pasted in the ClipBoard!
So if you have some NotPad open somewhere you can read it after copy the clipBoard inside! :)
Not very speedy but better than nothing! And very informative! :)

Another thing is existing! (maybe not very adapted to your case but...
CurveLengthBeingDrawn :)
http://kyticka.webzdarma.cz/3d/moi/#CurveLengthBeingDrawn

or on my page in French ;)
http://moiscript.weebly.com/curvelengthbeingdrawn.html


From: archetype (FABIENF)
22 May 2015   [#16]
That's an interesting script there, Pilou! I somehow missed that before.

Any idea if this can work during the editing of a curve as well?

Might be useful when trying to keep the length 'constant' while reshaping the curve by its points.

Thanks.
From: Frenchy Pilou (PILOU)
22 May 2015   [#17] In reply to [#16]
<< Any idea if this can work during the editing of a curve as well?

Alas not with this version!
From: 3dcnc
23 May 2015   [#18]
There are plenty of unfold software tools. I would look at this one at it opens Rhino / Moi 3dm files . Its very clever, as it takes material thickness into account.


http://laminadesign.com/

Image Attachments:
lamina.jpg  lamina2.jpg 


From: Frenchy Pilou (PILOU)
23 May 2015   [#19] In reply to [#18]
Not sure that it developps object as volume result ? Only as surface ...
From: Ditto
23 May 2015   [#20] In reply to [#19]
>> Not sure that it developps object as volume result ? Only as surface ...

Frenchy: Yes, the result is a surface, but this surface is calculated depending on the material and the material thickness to unroll. Let me cite the manual:

<snip>
Material: Use the "Material" menu to select the material (e.g. paper, steel, PETG) and material thickness to use. Lamina will take your material and its thickness into account when designing the 2-D cut path, to assure a proper fit of all the final pieces
</snip>
From: Frenchy Pilou (PILOU)
23 May 2015   [#21] In reply to [#20]
Thx for the Info! After all is depending of what is wished...
From: BurrMan
23 May 2015   [#22] In reply to [#21]
I own lamina. It allows you to flatten non-developable surfaces also.

Frenchy, the "not a volume" of a flattened object is just a thickness...
From: Frenchy Pilou (PILOU)
23 May 2015   [#23] In reply to [#22]
So ...like SpaceClaim above ? (message 3) or this one

From: Frenchy Pilou (PILOU)
26 Jun 2019   [#24]
In case of!
Remember there is a little free plugin for SKetchUp by Sdmitch : Sheet Metal Bender
http://sdmitch.blogspot.com
The last free version of Sketchup who can use Plugins is the SketchUp Make 2017 !






Curviloft by Fredo6


For something without "gorge" there is the native function!

From: nameless
26 Jun 2019   [#25] In reply to [#24]
Hey Pilou,

I hope life is good!

I see no images on my end :(
From: Frenchy Pilou (PILOU)
27 Jun 2019   [#26] In reply to [#25]
sorry images come from an external forum so i will change that in a minute!...
From: MajorGrubert (CARLOSFERREIRAPINTO)
27 Jun 2019   [#27]
Hi Pilou,
That's a good find, thanks.
Would love to have this in Moi, maybe Michael could develop it in the future.
Cheers
Carlos

Show messages:  1-7  8-27  28