Script request :)
All  1-2  3-10

Previous
Next
 From:  Michael Gibson
5667.3 In reply to 5667.1 
Hi DesuDeus, here's one for the first one - the attached command will take a face selection, do a join of its edges to make a closed curve (or just duplicate the curve if the trimming boundary only had one curve in it like a circle trim curve for example), and then delete the face.

Copy the attached file into the \commands folder, then there will be a new command Named ConvertFaceToCurve which you can set up a shortcut key for.

It will not quite work properly on faces that have a "seam edge" like the body piece of a cylinder for example - the way that the seam edge has multiple connections makes it so it can't be joined into just one closed outline like on a simple flat face.

Hope it helps!

- Michael
Attachments:

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Samuel Zeller
5667.4 In reply to 5667.3 
Wow that was a fast answer !

It's exactly what I needed, thank you sooo much :)

It even works on multiple selections !

Awesomeness !

I can't wait to show what I'm working on, it's huge :)
--
shapenoid.com stojan-voumard.com
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
5667.5 In reply to 5667.2 
Ok, for the second one unzip the attached and copy the 2 files into the commands folder. That will then make a new command called Polyface available.

It works the same as polyline except when it's finished it will do the same thing as selecting it, running Construct > Planar on it and then deleting the polyline curve. So it will generate a trimmed face when it is finished instead of a polyline.

Hope this helps, looking forward to seeing what you're up to! :)

- Michael
Attachments:

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
5667.6 In reply to 5667.5 
so seems very interesting when you mixe that with your import OBJ object plugin
where object without double edges can't make a surface with the planar command in one shoot
---
Pilou
Is beautiful that please without concept!
My Gallery
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
5667.7 In reply to 5667.6 
Hi Pilou, sorry I don't understand what the "without double edges" part means... ?

Back a while ago I did add an additional mode to that OBJ converter program, the original mode is that it converts one line for every edge in the mesh - the second mode is that it makes a closed polyline for every polygon in the mesh. That second mode is ready to be selected and converted to planar surface as long as the polygons were actually planar.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
5667.8 In reply to 5667.7 
yes but when original OBJ object has not double edges you can"t make in Moi in one pass all planar faces of the imported model
You have each line yes, but not all faces as separated faces so planar don't work in one pass

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
5667.9 In reply to 5667.8 
Hi Pilou,

> yes but when original OBJ object has not double edges you can"t make in Moi in one
> pass all planar faces of the imported model
> You have each line yes, but not all faces as separated faces so planar
> don't work in one pass

That's not true anymore, there is now a second mode for the OBJ converter that will make one closed polyline for every face, instead of one line for every shared edge. It puts up a dialog that gives you the option between those 2 modes.

I think you're remembering only the original mode that it had and not the new one.

See previous post here:
http://moi3d.com/forum/index.php?webtag=MOI&msg=5135.5

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Frenchy Pilou (PILOU)
5667.10 In reply to 5667.9 
With many late! :=)

Yes i was on the original version, all is fine now!
---
Pilou
Is beautiful that please without concept!
My Gallery
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
 
Show messages: All  1-2  3-10