View Issue Details

IDProjectCategoryView StatusLast Update
0000569FreeCADBugpublic2012-05-04 12:56
Reporterpperisin Assigned Toyorik  
PrioritynormalSeveritytrivialReproducibilityalways
Status closedResolutionnot fixable 
Product Version0.12 
Fixed in Version0.13 
Summary0000569: couple draft bugs
DescriptionHi,

I really like draft offset - occ style. Great feature.

However, I noticed some bugs:

1 - this seems to work only on polyline. I can not make it to work on single line or arc.

2 - Even if I can make offset on polyline, I can not make face of it.

3 - When I make offset on polyline, converting it to sketch is badly.

regards,
Petar
TagsNo tags attached.
FreeCAD Information

Activities

yorik

2012-01-11 13:03

administrator   ~0001558

Okay, I'll look into it, should be solvable...

yorik

2012-01-11 14:10

administrator   ~0001559

A bit of additional info ater testing:

1. OCC seems to have a problem making offsets of 1-edge wires. This indeed includes lines and arcs. Not too sure if there is a solution but will look into it.

2. Make faces works for me: Select an offsetted wire, press the Draft Upgrade button, then put it in Flat Lines mode (Shift+Space)

3. Indeed, converting it into a sketch has arcs inversions. I'll fix that first...

pperisin

2012-01-11 14:28

reporter   ~0001560

2 works here too. I did not know I have to switch to wireframe manually.

yorik

2012-01-12 12:58

administrator   ~0001568

point 3 is now fixed

pperisin

2012-03-12 10:08

reporter   ~0001751

this seems to be bad again. I can not even use OCC style offset anymore.

yorik

2012-03-12 12:28

administrator   ~0001752

fixed now. Still couldn't find a solution for problem #1, though...

pperisin

2012-03-12 14:13

reporter   ~0001753

Last edited: 2012-03-12 14:29

I have just cloned from git (I used to do svn up until now, but since you fixed this I wanted to check). I can not even place wire nor polyline now.

EDIT: I think this was because I tried first time to use git. let me try once more

yorik

2012-03-12 14:30

administrator   ~0001754

Here all seems to work fine... Can you explain better what's wrong?

yorik

2012-03-12 20:48

administrator   ~0001756

Okay, there is a bug indeed, but it's another problem in the vector API...

yorik

2012-05-04 12:56

administrator   ~0002011

Okay I finally discovered the problem... For OCC to make its offset, it must know what is th normal direction of a wire (so the offset goes in the plane perpendicular to that normal). In a wire made of only one line segment, there is no way to know what the normal is, so there is no way to do the offset.

I'll close this bug since it is not directly solvable, in the future we can try to make ourselves to some alternative solution...

Issue History

Date Modified Username Field Change
2012-01-10 20:41 pperisin New Issue
2012-01-11 13:03 yorik Status new => assigned
2012-01-11 13:03 yorik Assigned To => yorik
2012-01-11 13:03 yorik Note Added: 0001558
2012-01-11 14:10 yorik Note Added: 0001559
2012-01-11 14:28 pperisin Note Added: 0001560
2012-01-12 12:58 yorik Note Added: 0001568
2012-03-12 10:08 pperisin Note Added: 0001751
2012-03-12 12:28 yorik Note Added: 0001752
2012-03-12 14:13 pperisin Note Added: 0001753
2012-03-12 14:28 pperisin Note Edited: 0001753
2012-03-12 14:29 pperisin Note Edited: 0001753
2012-03-12 14:30 yorik Note Added: 0001754
2012-03-12 20:48 yorik Note Added: 0001756
2012-05-04 12:56 yorik Note Added: 0002011
2012-05-04 12:56 yorik Status assigned => closed
2012-05-04 12:56 yorik Resolution open => not fixable
2012-05-04 12:56 yorik Fixed in Version => 0.13