I have a series of curves which are entirely ‘flat’ … i.e. they have x,y co-ordinates, but are aligned to zero in the z-plane
When I select them using the applycrv command I just get an error ‘curves are not in world XY plane’… what does that mean in this context ?
Measure
February 14, 2025, 2:58pm
2
Can you share the geometry?
Yes, of course
Geometry.3dm (64.9 KB)
Tom_P
February 14, 2025, 3:07pm
4
your curves are in Y-Z Plane, not in X-Y Plane.
(screenshot - already rotated, result of _applyCrv)
use
_rotate3d
or
_orient3pt
or other transformation to fix it.
to check use
_boundingBox (World)
to be sure the curves are planar
_projectToCPlane
x will become u
y will become v
_dir will show u-v of the surface
hope this helps - kind regards -tom
Measure
February 14, 2025, 3:07pm
5
The curves are not in the World XY Plane. You’ll have to reorient them.
yes sorry i rotated them 90 degrees…
but even orientated as you show I could not get applycrv to run… i just got the error about world axes
Measure
February 14, 2025, 3:11pm
7
Try running _CPlane _World _Top _ProjectToCPlane _Pause _Yes
on the curves.
1 Like
Tom_P
February 14, 2025, 3:12pm
8
ambrose_bill:
as you
@Measure shows that your (@ambrose_bill ) setup is wrong
@tom_p “my” screenshot shows a setup after transformation that works.
attached a file where _applyCrv does the job.
Geometry-2.3dm (3.4 MB)
Tom_P
February 14, 2025, 3:14pm
9
also notice my edits in the initial post:
Brilliant Thank you. Very clever solution.
Thank you also @Tom_P for your explanations.
Not sure I completely understand… I even ran bounding box and it looked like this (but didn’t work)
…so there don’t seem to be any visual cues to explain the phenomena…(i.e. nothing on screen to tell you why it is wrong, or when it is fixed)
Appreciate your simple workaround though very cool