View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0002161||FreeCAD||Bug||public||2015-06-16 20:15||2015-06-17 14:04|
|Target Version||Fixed in Version||0.16|
|Summary||0002161: 0.16.5111 External Geometry Bug|
|Description||In Sketcher/PartDesign, using external geometry tool does not immediately show the external geometry edges and vertices. One must first create some geometry or close and reopen the sketch for the external geometry to show.|
|Steps To Reproduce||Make a rectangle sketch and Pad.|
Select a face and create new sketch.
Attempt to pick and edge or vertex as external geometry.
|Additional Information||Forum thread - http://forum.freecadweb.org/viewtopic.php?f=3&t=11386|
OS: Kubuntu 14.04.2 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.5111 (Git)
Build type: Release
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
|Tags||No tags attached.|
FreeCAD: master 074d5d7f
Committer: wmayer Details Diff
|Sketcher: Bug fix External geometry not appearing upon insertion
A last moment change to regulate redrawing introduced this issue (reducing the redrawing to the cases where the solver geometry and the sketchObject geometry are equal).
This change also solved other issues.
The case of adding external geometry is special because the DoF is the same after insertion, yet there is an insertion (as opposed to the toggle case, where there is a change but no insertion).
SketchObject has been adapted to require a solver update before moving (which also caused a non-yet-reported crash, a separate bug), and CommandCreateGeo has been adapted to trigger a solve with
auto update mode disabled. This solve is a very low cost one as the geometry is already in place.
|mod - src/Mod/Sketcher/App/SketchObject.cpp||Diff File|
|mod - src/Mod/Sketcher/Gui/CommandCreateGeo.cpp||Diff File|
|2015-06-16 20:15||quick61||New Issue|
|2015-06-17 12:03||abdullah||Assigned To||=> abdullah|
|2015-06-17 12:03||abdullah||Status||new => assigned|
|2015-06-17 12:22||abdullah||Note Added: 0006208|
|2015-06-17 12:22||abdullah||Status||assigned => resolved|
|2015-06-17 12:22||abdullah||Fixed in Version||=> 0.16|
|2015-06-17 12:22||abdullah||Resolution||open => fixed|
|2015-06-17 14:04||wmayer||Changeset attached||=> FreeCAD Master master 074d5d7f|
|2015-06-17 14:04||wmayer||Note Added: 0006210|
|2015-06-17 14:04||wmayer||Status||resolved => closed|