Ms. Filipa Sanches 0 Report post Posted January 27, 2016 Hi, I need to create a feature to export some sections of the hull form with a certain number of points. The ideal would be to import the GroupSection created outside the Feature and then process the sections and create the points that i need. I try to do this but i am not able to import the groupSection to the feature and then export to an ASCII file. Is there any way to do it? The other possibility that i tough was to generate the sections inside the feature by intersection of surfaces and then dealing with the creation of the points. The problem is that the hull form is a group of different sections and i am not able to import them to the feature and to intersect them. Is there any way to do it? Thank you soo much for the help Filipa Sanches Share this post Link to post Share on other sites
Karsten Wenzke 12 Report post Posted January 27, 2016 Hey Filipa, This is all posible.The following things will help you.Custom Exports: Blog post Here you can find a Forums post dealing with exports as well.Export feature in CAESES: menu > features > tools > write blade sectionsAnother feature which does create a lofted surface from offsets/sections will also help you how to get the feature you wantmenu > features > hull design > Lofted surface from offsets If you can provide a file I will take a look at your feature. Cheers, Karsten Share this post Link to post Share on other sites
Karsten Wenzke 12 Report post Posted January 27, 2016 Hey Filipa, You can find attached a project file which exports a section group.You have to define the file path, the section group and the number of points you want to export. Hope it will help you. Let me know if you need more help or input. Cheers, KarstenSectionExportftr.fdb Share this post Link to post Share on other sites
Ms. Filipa Sanches 0 Report post Posted January 27, 2016 Hi, Thank you soo much for the help, its exactly this that i kneed but i the feature is given me an error. It says:Error: Line 23 [20,43]: Could not resolve commandError: Line 24 [24,28]: Could not resolve object with name: pos Do you know what is happening? Thank you for everything, Cheers, Filipa Sanches Share this post Link to post Share on other sites
Karsten Wenzke 12 Report post Posted January 27, 2016 Hey Filipa, Which CAESES version do you use?I am using CAESES 4.0.3.For CAESES versions below 4.0.3change line 23: point pos(off2.getPosAtArcLength(tpos)) to point pos(off2.getPos(tpos)) This should be all.Cheers, Karsten Share this post Link to post Share on other sites
Ms. Filipa Sanches 0 Report post Posted January 27, 2016 Hi, Perfect, it resolved everything. One last thing, this feature creates N points on the sections that are with the same distance? For example in a curve 8 points, dividing the perimeter to seven and then we have the points? Thank soo much, it was a huge help Cheers Filipa Sanches Share this post Link to post Share on other sites
Karsten Wenzke 12 Report post Posted January 27, 2016 Great. well yes and no. The getpos() command is running on the domain of the bsplinecurve and the domain is not spaced equdistant but the steps in the domain are equidistant.Therefore the points do not have the same distance because the domain parameter changes with respect to the curvature of the curve. You can add the following code line than the points should have equal distance. Add it right after bsplinecurve off2(......) should be line 21/22. off2.setParametrization("unit speed") Cheers, Karsten Share this post Link to post Share on other sites
Ms. Filipa Sanches 0 Report post Posted January 27, 2016 Thank you soo much!! Share this post Link to post Share on other sites