MoI discussion forum
MoI discussion forum

Full Version: Edge Flange Script

Show messages:  1-4  5-24  25-36

From: MO (MO_TE)
1 Sep 2024   [#5]
Hi
You're welcome! Glad to hear it's useful for you. :)
From: Michael Gibson
1 Sep 2024   [#6] In reply to [#1]
Nice work MO!

- Michael
From: Larry Fahnoe (FAHNOE)
2 Sep 2024   [#7] In reply to [#1]
Very nice indeed Mo, I think this will be quite helpful, thank you! Also, kudos to you for the documentation here and in the code.

--Larry
From: RayCAD1962 (RAYCAD003)
2 Sep 2024   [#8]
Dear MO,
Thank you for this amaze script that you create. Hope to have more script commands in the future to make 3Dmoi better then ever.
Keep it up the good work and thanks again.
From: MO (MO_TE)
2 Sep 2024   [#9]
Thank you all for these kind words. :)
From: Mik (MIKULAS)
3 Sep 2024   [#10] In reply to [#9]
Hi Mo, excellent script, indeed!
Many thanks for sharing.
It would be nice to have some complementary "unfold" script too for laser cut machine :-)
Mik
From: Fredrik (CARL_FREDRIK)
4 Sep 2024   [#11] In reply to [#10]
That would be really nice.
A "unfold and flatten" script, for laser as well as for water-cutting too.
The possibilites would be almost endlessly for stamped sheet and metal goods.
From: Finema
4 Sep 2024   [#12]
Very usefull.
Thanks !
From: MO (MO_TE)
4 Sep 2024   [#13] In reply to [#10]
Hi Mik

I think doing an unfold tool for all kinds of surfaces is just way beyond me! :) I don't have enough geometry/programming information to do this.

On the other hand, I read your thread about using flow as an unfold tool since 2015.
And I think this technique can be a good fit for edge flange script as it can produce simple objects.

Here are some thoughts:

In V5 there is a function to store user information to objects (setUserText), Also one to get the information. (getUserText)

I think it is possible to change the edge flange script to store some information like bend radius, bend start point, arc center, arc length and hierarchical order of the produced objects.
Then maybe a script can use this information to flatten the parts like you demonstrated in this thread. ( I don't know how yet! )
https://moi3d.com/forum/index.php?webtag=MOI&msg=7406.1

Here is a screenshot of using flow to unfold an object created with edge flange script. (Manually)


Right now I don't have the time and a solid plan to work on it.
Also, you can use freecad's dedicated SheetMetal Workbench and SheetMetal Unfold tool. Although, I haven't tried it myself.

Image Attachments:
EdgeFlange_IMG_Unfold.png 


From: Frenchy Pilou (PILOU)
5 Sep 2024   [#14]
Cool script and links!

And with SubDiv_beta9 by Max Smirnov



Will be fine if we can have this choice! ( Negative Angle or Flip Direction don't give that!
(edit see following posts that is yet possible! :)


From: mk (MARKY)
6 Sep 2024   [#15] In reply to [#14]
It's great for HVAC ducts routes in architecture, at least in the concept design stage.
From: Frenchy Pilou (PILOU)
6 Sep 2024   [#16]
In fact that is working! :) Bravo!

But you must be in "Manual" and make a full rotation in "Flip Direction" before draw!

French Version
https://moiscript.weebly.com/brides-de-rives.html


From: Frenchy Pilou (PILOU)
8 Sep 2024   [#17] In reply to [#1]
@Mo_te
Can you make something for have the possibility to recall your script at the end ?

Because now when we make Right Click it's the Extrude function who is recalled! :)
From: MO (MO_TE)
8 Sep 2024   [#18] In reply to [#17]
Hi PILOU
The extrude part can be skipped by setting the last command parameter to true.
code:
edgeFlange 5 true false 4 Auto 1 false true

code:
edgeFlange 5 true true 4 Auto 1 false true

This way you can repeat the 'edgeFlange' command by right click.

But if you like to run the extrude command at the end, It will change the last executed command to 'extrude'. That's why right click repeats the extrude command.
Another option is to set a shortcut key for 'edgeFlange' command and run it from there.
From: Frenchy Pilou (PILOU)
8 Sep 2024   [#19] In reply to [#18]
Of course i wish run the "Extrude" at the end of the process before the "remake" ! ;)

So maybe Michael will have a trick! ;)
From: Frenchy Pilou (PILOU)
9 Sep 2024   [#20]
<<< Sorry no there isn’t currently a way to do that.
I have some ideas for a mechanism that would manage running a sequence of several commands in a row.
That would probably help with this case but it’s currently at the idea stage and is not implemented yet.

Michael>>>

So wait & see! :)
From: Mik (MIKULAS)
9 Sep 2024   [#21] In reply to [#13]
Hi MO,

never mind, Edge Flange Script is awesome itself and unfold proces it can proceed manually in several ways, as you mentioned.

I know, that freeCAD dispose SheetMetal Workbanch, but I prefer to do all my construction job inside MoI, because I simply love this piece of software :-)

Mik
From: MarkBTomlinson
9 Sep 2024   [#22]
Really nice little script, thank you for sharing!
From: Frenchy Pilou (PILOU)
17 Sep 2024   [#23]
Works fine with SUbDiv_Beta9! :)

_SSplit
EdgeFlenge
Boolean Union
_SubDiv_Beta9

This sort of volume will be some difficult to make in pure Nurbs! :)


From: Frenchy Pilou (PILOU)
17 Sep 2024   [#24]
So in free Alpaca :)


Show messages:  1-4  5-24  25-36