Path / Drill /Depth - Set depth buttons - can't select model or stock

Here's the place for discussion related to CAM/CNC and the development of the Path module.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
lrak
Posts: 34
Joined: Fri Feb 22, 2019 12:33 am

Path / Drill /Depth - Set depth buttons - can't select model or stock

Post by lrak »

I want to select a line on the stock and use the arrow to set the final depth. If I hover over the line I see a "not allowed... " on the very bottom left of FreeCAD''s window - If I left-click anyways I get a "selection not allowed by filter". I've done a LOT of searches and can't find what I need.


I ran into to this once before and found a workaround - sadly, I forgot to write it down.

Running:

Code: Select all

OS: Debian GNU/Linux 11 (bullseye) (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.21.0.33040 (Git) AppImage
Build type: Release
Branch: master
Hash: 1e830a8800156097ccb3ef6124dced30d4002e76
Python 3.11.3, Qt 5.15.8, Coin 4.0.0, Vtk 9.2.2, OCC 7.7.0
Locale: English/United States (en_US)
I would rather have questions that cannot be answered,
than answers that cannot be questioned’
Richard Feynman.
chrisb
Veteran
Posts: 54293
Joined: Tue Mar 17, 2015 9:14 am

Re: Path / Drill /Depth - Set depth buttons - can't select model or stock

Post by chrisb »

lrak wrote: Fri May 12, 2023 12:23 am I want to select a line on the stock
You cannot select a line from the stock, only from the model.
I ran into to this once before and found a workaround
There are different workarounds, e.g.
- enter the depth manually
- use the arrow and a bottom edge to get the bottom depth and then subtract the z offset you have configured in the job by an expression.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
lrak
Posts: 34
Joined: Fri Feb 22, 2019 12:33 am

Re: Path / Drill /Depth - Set depth buttons - can't select model or stock

Post by lrak »

I've done both before - can't do either now.

There is a trick to make it selectable - can't remember it.

I have confirmed that it isn't related to the 'toggle selectability' settings for model and stock in the model tree view.
I would rather have questions that cannot be answered,
than answers that cannot be questioned’
Richard Feynman.
chrisb
Veteran
Posts: 54293
Joined: Tue Mar 17, 2015 9:14 am

Re: Path / Drill /Depth - Set depth buttons - can't select model or stock

Post by chrisb »

lrak wrote: Fri May 12, 2023 2:14 am I've done both before - can't do either now.
It's both possible for e.g. the Profile operation. You may have had success with that. There is no good reason to disallow it for others for this purpose, but it seems that the operations allow only selections which are sensible as BaseGeometry.
If others don't know better, I think this is worth a feature request.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Post Reply