when creating a section from a brep we can define additional points. If the section is viewed afterwards the numbering of the points is given automatically.
Is it possible to define specific points with user names?
Since the number of points is variable its not really practical to define the crosssection via a json file. So i tried the approach with a brep.
The different points will define different type of tendons. To keep the crossection easy to interprete it would be great if i could name the points for example T101-T10X for tendons 1 and T201-T20X for tendons 2.
with your method the user defined points will only be implemented once the aqua component is run. Therefore the points are only visuable inside sofistik.
Iâd like to reference to these points before the aqua component directly inside grashopper. The intended method seems to be via âAdditional Pointsâ, but i think this feature only accepts coordinates and no additional text.
For example in a later process iâd like to attach elements to specific points along the axis. But since the number of points is variable it would be easier to devide the points by the prefix and not by numbers. My current workaround is to also automatically calculate the Pointname, which can be really confusing when approaching a lot of unserdefined points.
Ok, unfortunately your desired workflow is not possible.
The command âSectionFromBrepâ is only suitable for simple cross sections. For more complex cross sections you have to use JSON or SOFiPLUS(-X) â âReadSectionCdbâ.
Can there be a variable amount of points defined inside the JSON file, and controlled from a number slider inside grashopper? As far as i understand all points have to be predefinied before importing them with âReadFromSectionâ.
As I havenât used jsons in Grasshopper I canât tell you. A quick Google search showed that there are tools to create JSON files in Grasshopper. So I think thatâs possible.
no sadly i trashed the idea with custom numbering the section. I did use a json File wich generated the point numbering above. Afterwards, if i would like to reference a point which number is dependent on a variable count of points before, i would hardcode components that would also count, how many points where created beforehand and then give me back the desired point number.