CoCreate User Forum  

Go Back   CoCreate User Forum > Support > Customization
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 01-13-2008, 07:00 AM
vcmasm vcmasm is offline
Registered User
 
Join Date: Jan 2008
Posts: 11
Convert (value-type :point-3d) to (value-type :point-2d)

A 3d point in two workplane,
use OSD lisp function, convert point-3d to point-2d in arbitrary workplane:
What must I do?
Reply With Quote
  #2  
Old 01-13-2008, 07:28 AM
clausb's Avatar
clausb clausb is offline
Registered User
 
Join Date: Nov 2002
Posts: 1,168
Re: Convert (value-type :point-3d) to (value-type :point-2d)

You'll have to project the 3D point onto the workplane. I haven't checked in a while, but the IKIT might have utility functions for this.

Claus
__________________
CoCreate Modeling FAQ: http://www.clausbrod.de/CoCreateModeling/
Reply With Quote
  #3  
Old 01-13-2008, 09:35 AM
Wolfgang's Avatar
Wolfgang Wolfgang is offline
Registered User
 
Join Date: Nov 2002
Location: ... near Sindelfingen near Stuttgart, Germany
Posts: 754
Re: Convert (value-type :point-3d) to (value-type :point-2d)

In the integration kit help, chapter "Geometric Inquiries" I found the function
sd-proj-pnt-on-face

Another hint:

(sd-inq-geo-props element :dest-space space)

AFAIK element can be a 3D point, too. As dest-space may be you can use your workplane? But i fear you can't.

Nothing tested.. just reading help files!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 03:21 AM.



Hosted by SureServer    Forums   Modeling FAQ   Macro Site   Vendor/Contractors   Software Resellers   CoCreate   Gallery   Home   Board Members   Regional User Groups  By-Laws  

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.