FreeCAD / FreeCAD/FreeCAD

PartDesign: Pad should allow besides "Up to face" something like "Up to point" as well

Open
#5,724 7 comments 4 reactions 1 assignee Claimed by @FlachyJoe View on GitHub
Good first issue Mod: Part Design Type: Feature
Dominant language
C++
Stars
33.6k
Forks
6k
Avg merge
3d 17h
Merged PRs (30d)
196

Description

Issue imported from https://tracker.freecad.org/view.php?id=3177

* **Reporter:** chrisb
* **Date submitted:** 9/6/2017
* **FreeCAD version:** 0.17
* **Category:** Feature
* **Status:** new
* **Tags:**

# Original report text

The well known pad option "Up to face" should be extended to
- Up to Plane for Datum planes
- Up to edges and Datum lines
- Up to vertices and Datum points

# Additional information

Forum discussions:
In the [german forum](https://forum.freecadweb.org/viewtopic.php?f=13&t=24227) (origin of this feature request)
and in the [english forum](https://forum.freecadweb.org/viewtopic.php?p=189914#p189914)

# Other bug information

* **Priority:** normal
* **Severity:** feature
* **Category:** Feature
* **Updated:** 2/6/2021

# Discussion from Mantis ticket

### Comment by wmayer 2018-08-26 11:23
Up to Face for Datum planes is fixed with: https://github.com/FreeCAD/FreeCAD/commit/fe2660b4684b51100ccc19c7479d08f7ae507398

---

### Comment by normandc 2018-09-02 20:14
Unfortunately, there is a limitation that the datum plane has to be parallel to the sketch plane. If the datum plane is not parallel, this error message pops up:
[quote]Pad: Extruding up to a face is only possible if the sketch plane is parallel to it[/quote]
This appears like a bug, because if there is a solid created first, then a new pad "up to face" works with a slanted datum plane.

In the attached file FC_issue3177_Pad_up_to_face_datum_plane_nc1.fcstd, padding the Body's Sketch up to the slanted datum plane produces the aforementioned error.

But Body001 shows that a sketch attached to an existing pad can be padded to the same datum plane with no such error message.

OS: Ubuntu 18.04.1 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.14498 (Git)
Build type: Release
Branch: master
Hash: e381e6b739a6b83b5f476546b64569cfa03a4e3a
Python version: 2.7.15rc1
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: French/Canada (fr_CA)

---

### Comment by normandc 2018-12-11 02:15
Setting target version to 0.18 to remove the restriction on plane parallel to sketch plane.

---

### Comment by normandc 2018-12-31 18:00
Restriction on parallel datum plane was removed by commit [ffd980b27e](https://github.com/FreeCAD/FreeCAD/commit/ffd980b27ecd155b15de07a45907608ae9062f87).

As for the rest of the request, I'm not sure. The request asks for "up to edge/vertex". How would that work exactly? How would the pad operation know how to define the ending face, if only a vertex or an edge is selected?

In a commercial CAD I'm familiar with, you can define the extrusion distance with a vertex selected in the 3D view. But it is a different option from the "up to face/plane" option. In this case, the pad ending face is parallel with the sketch plane. Otherwise, the tool does not allow to use an edge.

EDIT: OK I just realized that the request is for multiple vertices and edges.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.