Closed lionpeloux closed 5 years ago
Hi Lionel, Thank's for reporting this. Because we are using our own internal system to generate components, cluster are not supported so far. I will keep this open until we find a proper solution. All the best,
Hi Tristan,
I would say this feature is really important if one wants to make reusable and parametrized tool path logic. Is there any alternative approach you would recommend to achieve that at the moment ?
HAL components are maintaining object references, which means that as soon as they get in a cluster, you will only see the result of the last running cluster solution. GH clusters have no way to cope with object reference maintenance, as they simply are sub-documents with a bit of decoration for the inputs/outputs. They can only work with components handling value types, or creating new instances of reference types (which is the default behavior in both Rhino and GH, but not in HAL as for us there is only one part/robot/tool/etc. instance, shared by many components, and not necessarily in the order specified by the GH wires).
So to wrap up:
Hello,
I have isolated this strange behavior.
In the following MWE I am creating two
reference frames
from theXY plane
. Each one is distinct as the input plane is rotated by a certain input angle. The name of the frame is the angle.If I put the components in a cluster an reproduce the same example with two clusters, then O1 appears to always equals O2. If I change I1 the it will change both O1 and O2. It seems that the frame component inside the cluster always point to the same object ...
Is this the intended behavior ? If so, how can I make reusable clusters for tool path generation relative to a certain reference frame ?
How to reproduce
In the same with cluster area:
Config
HAL 1.2.6 beta
Rhino 6 SR8
MACOS 10.13.6
VMWare Fusion 10.1.0
withWIN7 PRO SP1
01_feuillure_debugref.gh.zip