proximityPoint on cylinder

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Post Reply
User avatar
Vincent B
Veteran
Posts: 4742
Joined: Sun Apr 05, 2015 9:02 am
Location: La Rochelle, France

proximityPoint on cylinder

Post by Vincent B »

AttachEngine can't get the proximity point #2 on a cylinder and a line. How to get it?

Code: Select all

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.21.0.31641 (Git)
Build type: Release
Branch: master
Hash: d28d63b87b60161419c6c0c532fbbfaed96926b8
Python 3.10.8, Qt 5.15.6, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: French/France (fr_FR)
Attachments
next_point.FCStd
(11.21 KiB) Downloaded 10 times
Capture.JPG
Capture.JPG (21.66 KiB) Viewed 291 times
User avatar
papyblaise
Veteran
Posts: 8027
Joined: Thu Jun 13, 2019 4:28 pm
Location: France

Re: proximityPoint on cylinder

Post by papyblaise »

if you pass a Datum thingy :?:
Attachments
next point.JPG
next point.JPG (24.04 KiB) Viewed 250 times
User avatar
Vincent B
Veteran
Posts: 4742
Joined: Sun Apr 05, 2015 9:02 am
Location: La Rochelle, France

Re: proximityPoint on cylinder

Post by Vincent B »

I got around this issue using vertex primitive and curves wb line.
Attachments
next_point_line.FCStd
(14.88 KiB) Downloaded 4 times
Post Reply