FreeCAD icon indicating copy to clipboard operation
FreeCAD copied to clipboard

PartDesign: FC complains when using DatumLine for Pull Direction (throws: "...reference must be an edge of feature or a datum line")

Open leoheck opened this issue 6 months ago • 4 comments

Is there an existing issue for this?

  • [x] I have searched the existing issues

Problem description

The pull direction is a datum line, but it complains.

Image

Full version info

OS: Ubuntu 25.04 (ubuntu:GNOME/ubuntu-xorg/xcb)
Architecture: x86_64
Version: 1.1.0dev.41573 (Git)
Build date: 2025/05/05 17:45:01
Build type: Release
Branch: main
Hash: 3189030c11010631e726dbe350e9077dc84109bb
Python 3.11.12, Qt 6.7.3, Coin 4.0.3, Vtk 9.3.1, boost 1_86, Eigen3 3.4.0, PySide 
shiboken , xerces-c 3.2.5, IfcOpenShell 0.8.2, OCC 7.8.1
Locale: English/United States (en_US)
Stylesheet/Theme/QtStyle: OpenDark.qss/OpenDark/
Logical DPI/Physical DPI/Pixel Ratio: 96/145.143/1
Installed mods: 
  * Assembly4 0.50.19-dev
  * sheetmetal 0.7.22
  * DynamicData 2.74.0
  * Curves 0.6.61
  * InventorLoader 1.5.1
  * diff-tools 0.1.0
  * ose-piping
  * OpenTheme 2024.9.1
  * fasteners 0.5.38
  * osh-autodoc-workbench 0.2.3
  * OpticsWorkbench 1.2.0
  * lattice2 1.0.0
  * kicadStepUpMod 11.6.9

Subproject(s) affected?

None

Anything else?

No response

Code of Conduct

  • [x] I agree to follow this project's Code of Conduct

leoheck avatar May 07 '25 20:05 leoheck

Is the problem only for the draft feature?

pierreporte avatar May 07 '25 20:05 pierreporte

Sketch works, another feature of the design, works as well.

leoheck avatar May 07 '25 20:05 leoheck

I will check this later with a smaller file, cool?

leoheck avatar May 07 '25 20:05 leoheck

The same still applies, unless I am doing something wrong. lala.FCStd.zip

leoheck avatar May 08 '25 13:05 leoheck

I need steps to recreate. I only manage to see:
08:52:05 Empty draft created !

OS: Manjaro Linux (KDE/plasmawayland/wayland)
Architecture: x86_64
Version: 1.1.0dev.41726 (Git) AppImage
Build date: 2025/05/16 17:15:43
Build type: Release
Branch: main
Hash: 1ca108f8d503b2b68455844bfdfabb62fa1461ed
Python 3.11.12, Qt 6.8.3, Coin 4.0.3, Vtk 9.3.1, boost 1_86, Eigen3 3.4.0, PySide 6.8.3
shiboken 6.8.3, xerces-c 3.2.5, IfcOpenShell 0.8.2, OCC 7.8.1
Locale: English/United States (en_US)
Stylesheet/Theme/QtStyle: FreeCAD Dark.qss/FreeCAD Dark/
Logical DPI/Physical DPI/Pixel Ratio: 96/95.065/1
Installed mods: 
  * fcVM
  * FreeCAD-Ribbon 1.9.1
  * SearchBar 1.4.2
  * Silk 0.1.8
  * Telemetry 1.0.1

luzpaz avatar May 17 '25 12:05 luzpaz

This is still happening.

Datum line was selected as Pull Direction.

Also, I cannot select and use Z-Axis directly instead. WHY?

Also, the name Datumline means what? It should have at least a label there, since any dadum line will appear as Datumline

Image

OS: Ubuntu 25.04 (ubuntu:GNOME/ubuntu-xorg/xcb)
Architecture: x86_64
Version: 1.1.0dev.42006 (Git)
Build date: 2025/06/02 16:32:08
Build type: Release
Branch: main
Hash: db1b5a877314f8d21514680421649fd9dc65acde
Python 3.11.12, Qt 6.8.3, Coin 4.0.3, Vtk 9.3.1, boost 1_86, Eigen3 3.4.0, PySide 6.8.3
shiboken 6.8.3, xerces-c 3.2.5, IfcOpenShell 0.8.2, OCC 7.8.1
Locale: English/United States (en_US)
Navigation Style/Orbit Style/Rotation Mode: Touchpad/Trackball/Drag at cursor
Stylesheet/Theme/QtStyle: OpenDark.qss/OpenDark/
Logical DPI/Physical DPI/Pixel Ratio: 96/94.0767/1

leoheck avatar Jun 11 '25 05:06 leoheck

I need steps to recreate. I only manage to see:

  1. Create a Body
  2. Create a Sketch with a Shape lets say a circle.
  3. Pad it.
  4. Select the vertical face (the side of the created cylinder)
  5. Use the PartDesign Draft tool
  6. Select the neutral plane (the top or bottom of the cylinder)
  7. For the pull direction, select Z-Axis (no you can't)
  8. Create a DadumLine using the Z-Axis as reference (rename it to My_Datum_Line)
  9. Edit the Draft feature again.
  10. For the pull direction, use the My_Datum_Line
  11. Check the Report View.

In other words, I can only use the Features of the Design as Pull direction.

leoheck avatar Jun 11 '25 05:06 leoheck

Hi! This issue hasn’t seen activity in a while. If it’s still relevant, please update to the latest FreeCAD weekly build download here to see if the problem is resolved.

If the issue persists, let us know by adding a comment with any updates or details. Otherwise, we’ll close this issue automatically in 14 days to keep our backlog tidy. Feel free to comment anytime to keep it open. Closed issues can always be reopened. Thanks for helping improve FreeCAD!

Access additional FreeCAD resources:

  • Forum: https://forum.freecad.org
  • Blog: https://blog.freecad.org
  • Wiki: https://wiki.freecad.org

github-actions[bot] avatar Oct 09 '25 00:10 github-actions[bot]

@leoheck It seems to be working for me.

With base axis:

Image Image

With datum axis:

Image Image

Can you confirm?

OS: Windows 10 build 19045
Architecture: x86_64
Version: 1.1.0dev.14555 (Git shallow)
Build date: 2025/10/07 22:49:55
Build type: Release
Branch: main
Hash: 68f083a6d169ec523fa9d46b7cc40addb1e4ffbe
Python 3.11.13, Qt 6.8.3, Coin 4.0.3, Vtk 9.3.1, boost 1_86, Eigen3 3.4.0, PySide 6.8.3
shiboken 6.8.3, xerces-c 3.3.0, IfcOpenShell 0.8.2, OCC 7.8.1
Locale: Polish/Poland (pl_PL)
Navigation Style/Orbit Style/Rotation Mode: CAD/Rounded Arcball/Window center
Stylesheet/Theme/QtStyle: FreeCAD.qss/FreeCAD Light/
Logical DPI/Physical DPI/Pixel Ratio: 96/90.0633/1

FEA-eng avatar Oct 09 '25 11:10 FEA-eng