Jump to content
xiaoming

How to judge a surface is curve surface or flat surface?

Recommended Posts

Hi,

I am the rookie of the tcl.I have some basic questions.But i can not find it in api document.

Supposed i have a solid,which has many surfaces and lines.

how to judge a surface is curve surface or flat surface? 

how to judge a line is curve line or flat line?

For more,can i know the expression(formula) of surface(line)?

Thanks! 

Share this post


Link to post
Share on other sites

There is an api but i can't remember, maybe it is removed in new version

 

A workaround:

A straight line is simply tested by

proc IsStraight LineID {

    *createmark lines 1 $LineID

    catch {hm_getbestcirclecenter lines 1 1}

}

 

A surface? 

- create a few lines on it (extract parametric lines)

- check straight for those lines, if all straight => flat surf (not sure) :rolleyes:

Pandurang likes this

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...