Hi @dale ,
I used this code to create a pipe:
“rhino-developer-samples/cpp/SampleCommands/cmdSamplePipe.cpp at 6 · mcneel/rhino-developer-samples · GitHub ”
But I have an error in this part “ON_SimpleArray<ON_Object*> results;
if (RhinoPipe(*curve, curve_params, radii, results, blend_type, cap_mode, fit_rail))”
Always my “results” variable is 0, and pipe is not create.
dale
(Dale Fugier)
February 22, 2024, 5:17pm
2
Hi @Luciano_Luiz_da_Silv ,
Thanks, I’ve updated the sample.
cmdSamplePipe.cpp
– Dale
Hi @dale ,
I used your code, but I have a problem, When I execute it in below part:
if (RhinoPipe(*curve, curve_params, radii, results, abstol, angtol, blend_type, cap_mode, fit_rail))
{
It is skipping this condition and does not execute the pipe
dale
(Dale Fugier)
February 27, 2024, 5:39pm
4
Hi @Luciano_Luiz_da_Silv ,
What version of Rhino are you building for?
– Dale