Message 1 of 6
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Greetings!
I've hit a wall with a script I'm working on. I've created 4 lines, and from them created two pairs a distance apart from each other. Now I'm trying to loft to two together to form a solid shape. I'm lost at how to define the initial lofts to be called upon for the 3rd loft. Very novice to scripting, I apologize for my 'lingo'. Here's part of the code I have so far for the lofting.
# Create input loftFeats = rootComp.features.loftFeatures loftInput1 = loftFeats.createInput(adsk.fusion.FeatureOperations.NewBodyFeatureOperation) loftSectionsObj1 = loftInput1.loftSections loftSectionsObj1.add(openProfile2) loftSectionsObj1.add(openProfile1) loftInput1.isSolid = False # Create loftFeats.add(loftInput1) # Create input loftInput2 = loftFeats.createInput(adsk.fusion.FeatureOperations.NewBodyFeatureOperation) loftSectionsObj2 = loftInput2.loftSections loftSectionsObj2.add(openProfile3) loftSectionsObj2.add(openProfile4) loftInput2.isSolid = False # Create loftFeats.add(loftInput2) # # Create input # loftInput3 = loftFeats.createInput(adsk.fusion.FeatureOperations.NewBodyFeatureOperation) # loftSectionsObj3 = loftInput3.loftSections # loftSectionsObj3.add(loftInput1) # loftSectionsObj3.add(loftInput2) # loftInput3.isSolid = False # # # Create # loftFeats.add(loftInput3)
Here's the two new surfaces I'm trying to loft together. I'm sure I just need to define each new loft as a surface, but don't know how.
Thanks for any help or guidance!
Brad
Solved! Go to Solution.