View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002503 | PartDesign | Bug | public | 2016-04-14 10:13 | 2020-10-06 13:33 |
Reporter | wmayer | Assigned To | ickby | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Fixed in Version | 0.17 | ||||
Summary | 0002503: Invisible pad object | ||||
Description | For some PartDesign operations the object is outside the camera's frustum and you have to invoke the Fit All. However, the Fit All command is not part of the context-menu so that you have to move to the toolbars and back to the 3d view which is a bit annoying. | ||||
Steps To Reproduce | 1. Create a body 2. Create a sketch and draw a rectangle 3. Make a pad => the object is outside the view frustum. You have to invoke Fit All to make it visible. | ||||
Tags | No tags attached. | ||||
FreeCAD Information | |||||
|
I see the described behavior. I'm not yet sure what the best way for going forward is, as I do not know why the view frustrum has this strange size/placement. I will investigate. |
|
When testing this with 0.16 then camera settings at document creation are: #Inventor V2.1 ascii OrthographicCamera { viewportMapping ADJUST_CAMERA position 0 0 1 orientation 0 0 1 0 aspectRatio 1 focalDistance 5 height 4.1421356 } When creating the sketch the settings will change to: #Inventor V2.1 ascii OrthographicCamera { viewportMapping ADJUST_CAMERA position 0 0 87 orientation 0 0 1 0 nearDistance 86.905006 farDistance 87.087006 aspectRatio 1 focalDistance 87 height 143.52005 } and then the pad just shows fine afterwards. In version 0.17 the camera settings don't change much when creating the sketch: #Inventor V2.1 ascii OrthographicCamera { viewportMapping ADJUST_CAMERA position 0 0 1 orientation 0 0 1 0 nearDistance 0.99100798 farDistance 1.001 aspectRatio 1 focalDistance 5 height 4.1421356 } When changing the camera settings in 0.17 with Gui.ActiveDocument.ActiveView.setCamera then the pad also will be visible on creation. So, the question is why the camera settings don't change on sketch creation like in 0.16. |
|
In version 0.16 it works because the camera settings are explicitly changed when the sketch is the first object in the modelling history. Maybe this idea should be applied when mapping the sketch on a base plane. https://github.com/FreeCAD/FreeCAD/blob/releases/FreeCAD-0-16/src/Mod/Sketcher/Gui/Command.cpp#L132 |
|
See also: https://github.com/FreeCAD/FreeCAD/commit/f8a45e6b3c4ec3f4c090359fd0f68c0935abb75e |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-04-14 10:13 | wmayer | New Issue | |
2016-04-14 10:13 | wmayer | Status | new => assigned |
2016-04-14 10:13 | wmayer | Assigned To | => ickby |
2016-04-14 11:46 | ickby | Note Added: 0006966 | |
2016-04-14 11:46 | ickby | Status | assigned => confirmed |
2016-04-16 20:14 | wmayer | Note Added: 0006981 | |
2016-04-16 20:36 | wmayer | Note Added: 0006982 | |
2017-02-10 16:19 | wmayer | Changeset attached | => FreeCAD Master master 798a57e2 |
2017-02-10 16:19 | wmayer | Status | confirmed => closed |
2017-02-10 16:19 | wmayer | Resolution | open => fixed |
2017-02-10 16:19 | wmayer | Fixed in Version | => 0.17 |
2020-10-06 13:33 | wmayer | Note Added: 0014776 |