Hey,
I just stumbled across a small, but annoying problem. Apparently, ControlPoints cannot have UserAttributes:
Is there a way in which i can store this data without duplicating controlpoints (and data) as normal points?
Best
Dan
Hey,
I just stumbled across a small, but annoying problem. Apparently, ControlPoints cannot have UserAttributes:
Is there a way in which i can store this data without duplicating controlpoints (and data) as normal points?
Best
Dan
hi @dn.aur no that is not possible. What is your goal?
hi @Gijs,
the most basic application would be re-creating measured CNC toolpaths with enhanced data (velocities, analog and digital signals of the machine) and compare it to the planned toolpaths.
ExtractPt creates a set of points at the control points of an object.
I’m aware of this. The main thing is, that i need the visualization of the polyline. Storing data on its controlpoints would avoid duplicate data - points.
Hi Dan -
This doesn’t really sound like a manual operation - I’m moving this thread to Developer
. If you provide details, perhaps someone has tips on how to implement such.
-wim
Hi @dn.aur,
Grip objects, such as curve control points, are transient and are often deleted shortly after selection and deselection. Thus, you will want to store any extra data on the owning curve object.
– Dale
Hey @dn.aur,
I wonder if something like this would be useful to you?
This is using a Display Conduit to visualise the polyline between the points as well as display each points attribute userstrings. It might be overly simplistic for your needs, but could be a starting point?
Best,
Luke
Yes, this could definitely be useful. I’ve never worked with Display-Conduits, so i cannot judge how capable it is. Could you be so kind and provide the code?
Best
Dan
Can do – will post after work
Hey @dn.aur you can check out this repo Polyline Visualisation. The names misleading as its not really a polyline. If you’re working with anything other than straight lines I imagine you’ll end up having to rework quite a lot of this, in saying that Claude scaffold-ed this pretty quickly based on some other display conduit stuff I’ve done before. I find the display conduit stuff can become complex for anything more complicated and there is performance implications if you start previewing a lot of things.
Here’s some other resources and examples:
Speckle Rhino Connector Display Conduit Implementation
– Luke