- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Creating a cone with top radius is zero
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-27-2010 09:13 AM
Hello,
I am using api_face_cylinder_cone() to create a cone. However, I've encountered the issue with it if my top radius parameter is zero. Is it true this function can not take zero top radius?
Is there another way to do this and it can maintain the cone properties? I know that we can use surface revolution operation to create one but the created surface does not the cone properties.
Also, zero radius is used the function fails and give this message "Cannot make zero area Cone". I am not sure what it means. If the base radius is not zero, the area can not be zero. Can you help clarifying it?
Thanks for help out.
Manhtriet.
Re: Creating a cone with top radius is zero
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-27-2010 08:00 PM
Hi Manhtriet
Can you clarify a bit more by supplying the values that give you the Error message?
I tried the following and it works:
api_solid_cylinder_cone( SPAposition(0,0,0) // Position at the bottom SPAposition(0,0,10) // Position at the top. 3.0 // major radius at the bottom. 3.0 // minor radius at the bottom. 0.0 // major radius at the top. NULL // position in direction of the major axis. cone // Cone returned );
Regards,
Mohit
Re: Creating a cone with top radius is zero
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-30-2010 01:44 PM
Hello Mohit,
The function I used is api_face_cylinder_cone, the function you used is api_solid_cylinder_cone. I have not tried the solid one, I will try it out. If we still can not use api_face_cylinder_cone, then I will use the other function and delete the bottom face as a workaround.
Please try api_face_cylinder_cone to verify if you can create the face cone. The third parameter is zero.
Thanks for helping out.
Manhtriet.
Re: Creating a cone with top radius is zero
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-30-2010 08:40 PM
Hi Manhtriet
Sorry, i missed the face API.
In api_face_cylinder_cone, the third argument is for base radius. The fourth argument is for top radius.
Try the following for making the top radius as zero:
api_face_cylinder_cone ( SPAposition(0,0,0), // center SPAvector(0,0,10), // normal 4.0, // bottom 0.0, // top 0, // start 360, // end 1, // ratio NULL, face // Output face )
Regards,
Mohit
Re: Creating a cone with top radius is zero
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-02-2010 10:03 AM

