View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003846 | FreeCAD | Bug | public | 2019-02-18 14:27 | 2019-02-19 14:56 |
Reporter | lvch | Assigned To | wmayer | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 0.17 | ||||
Fixed in Version | 0.18 | ||||
Summary | 0003846: unexpected result in building RuledSurface | ||||
Description | Minor x-coordinate changes the first point of two closed wires lead to an unexpected result in building RuledSurface see more https://forum.freecadweb.org/viewtopic.php?f=22&t=34211#p286871 | ||||
Steps To Reproduce | run the script (file #1) result : file 0000002 | ||||
Additional Information | Many small changes in x0 and x1 lead to the same result. For example, increase or decrease x0 several times (not more than 2,4,6), simultaneous change of the x0 and x1 signs. Other minor changes give the right result. For example, changing the sign of only x0, x0 = 0 or x1 = 0, x0 = .1e-14, x0 = 1e-16, x0 = 0.0001 result: file 0000003 | ||||
Tags | App::Part | ||||
FreeCAD Information | |||||
has duplicate | 0003847 | closed | unexpected result in building RuledSurface |
|
err.FCMacro (688 bytes)
# -*- coding: utf-8 -*- import FreeCAD import Part import Draft x0 = 1.7256386715258160e-15 x1 = 1.4287545990052454e-15 # x0 *= 4*x0 # x1 *= 4*x1 x1=-x1 verts_0 =[(x0, -8., 0.), ( 0., -8., 2.), (-3., -8., 0.) ] verts_1 =[(x1, -3., 0.), ( 0., -3., 2.), (-3., -3., 0.) ] curva_0 = Part.makePolygon(map(FreeCAD.Vector,verts_0)) D0=Draft.makeWire(curva_0, closed=True,face=False) curva_1 = Part.makePolygon(map(FreeCAD.Vector,verts_1)) D1=Draft.makeWire(curva_1, closed=True,face=False) App.ActiveDocument.addObject("Part::RuledSurface","srf") FreeCAD.ActiveDocument.ActiveObject.Curve1=D0 FreeCAD.ActiveDocument.ActiveObject.Curve2=D1 App.getDocument("_________________").recompute() |
|
https://github.com/FreeCAD/FreeCAD/commit/997d1d7d515f0551eb44d06da27df98288576ce2 |
Date Modified | Username | Field | Change |
---|---|---|---|
2019-02-18 14:27 | lvch | New Issue | |
2019-02-18 14:27 | lvch | Tag Attached: App::Part | |
2019-02-18 14:27 | lvch | File Added: err.FCMacro | |
2019-02-18 14:27 | lvch | File Added: 1.png | |
2019-02-18 18:09 | wmayer | Relationship added | has duplicate 0003847 |
2019-02-19 14:56 | wmayer | Assigned To | => wmayer |
2019-02-19 14:56 | wmayer | Status | new => closed |
2019-02-19 14:56 | wmayer | Resolution | open => fixed |
2019-02-19 14:56 | wmayer | Fixed in Version | => 0.18 |
2019-02-19 14:56 | wmayer | Note Added: 0012695 |