Create TCone in c++

How can I create tcone by using c++.image
I have already try ON_BrepCone() and ON_BrepCylinder().
However, they can not make it.
Is there any function or idea that I can use to create tcone?

Hi @wayne387315,

See the following SDK sample on GitHub.

https://github.com/mcneel/rhino-developer-samples/blob/6/cpp/SampleCommands/cmdSampleTruncatedCone.cpp

– Dale

1 Like