Problem with offset factory for nodeeditor
All  1-3  4-6

Previous
Next
 From:  Karsten (KMRQUS)
8158.4 
Hello,
problem solved - everything works fine:-)
Karsten
  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
8158.5 In reply to 8158.4 
Hi Karsten, sounds like you're all set up but just in case the inputs to the offset factory are like this:

0: FactoryInput_ObjectList, "Objects" // Objects to offset.
1: FactoryInput_Double, "Distance" // Offset distance.
2: FactoryInput_CoordinateFrame, "Offset pt" // Offset through point or which-side point for curve offset.
3: FactoryInput_String, "Corner type" // Corner type "sharp" or "round", for curve offset.
4: FactoryInput_Bool, "Trim" // True = trim curve results.
5: FactoryInput_Bool, "Flip" // True = flip solid offset side.
6: FactoryInput_Bool, "Both sides" // True = offset curves to both sides.
7: FactoryInput_Bool, "Cap ends" // True = add line segment between ends of open offset curves.
  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:  Karsten (KMRQUS)
8158.6 In reply to 8158.5 
Hello Michael.

thanks for the reply!
Important for me was this:
var pln=ofFac.getCurvePlane();
ofFac.setInput(1, dist);
ofFac.setInput(2, pln);

I've displayed the pln frame in the nodeeditor and now I know what to do, to filp the side of the offset (I don't have a pointpicker here!).

Have a nice day
Karsten
  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-3  4-6