View Issue Details

IDProjectCategoryView StatusLast Update
0001837FreeCADBugpublic2017-10-17 11:08
Reportermore11 Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionno change required 
Product Version0.14 
Summary0001837: Sometime fuse causes exception:
Descriptionfuse on line 49 in uploaded script causes exception. If the formula on line 22 is changed to
point = (center[0] + math.sin(math.radians(circ_angle)) * (min_radius + math.cos(math.radians(angle_i))*radius), center[1] + math.cos(math.radians(circ_angle)) * (min_radius + math.sin(math.radians(angle_i))*radius), center[2])
there is no exception.

Traceback (most recent call last):
  File "C:/Users/more10.HOLISTICODE/Dropbox/Public/FreeCAD/mirror.py", line 49, in <module>
    solid = solid.fuse(aMirroredSolid)
<type 'exceptions.Exception'>: ACCESS VIOLATION at address 0xFFFFFFFFFFFFFFFF during 'READ' operation
Steps To ReproduceRun the uploaded script.
Additional InformationOS: Windows 7
Word size: 64-bit
Version: 0.14.3700 (Git)
Branch: releases/FreeCAD-0-14
Hash: 32f5aae0a64333ec8d5d160dbc46e690510c8fe1
Python version: 2.7.6
Qt version: 4.8.5
Coin version: 4.0.0a
SoQt version: 1.6.0a
OCC version: 6.6.0
TagsNo tags attached.
FreeCAD Information

Activities

more11

2014-11-23 21:09

reporter  

mirror.py (Attachment missing)

Kunda1

2017-01-23 22:17

administrator   ~0007934

Forum thread: https://forum.freecadweb.org/viewtopic.php?f=10&t=20168

Kunda1

2017-01-24 15:31

administrator   ~0007962

@normandc writes in https://forum.freecadweb.org/viewtopic.php?p=155519#p155519
> I had to save the script as a macro and run it because pasting it in the terminal caused an error. (Tip: don't use "Select all" over the code window because it adds undesirable indents)

> I'm getting a different error sooner in the script:

Traceback (most recent call last):
File "/home/normand/Macros_FreeCAD/test.FCMacro", line 28, in <module>
circle_surface = Part.makeRuledSurface (circle.Shape, circle_1.Shape)
<class 'Part.OCCError'>: curves must either be edges or wires

> But this is because the two Draft BSplines "Make face" property need to be set to false. IIRC the "Make face" property was changed after 0.14.3700.

> Since I'm clueless with Python I can't fix that part of the script to make it continue.

Kunda1

2017-10-17 11:08

administrator   ~0010307

@more11 Two things going on.
1. copy/paste forum mechanism for code tags was defective and has since been fixed
2. see https://forum.freecadweb.org/viewtopic.php?f=10&t=20168&p=155451#p195765
Closing ticket

Issue History

Date Modified Username Field Change
2014-11-23 21:09 more11 New Issue
2014-11-23 21:09 more11 File Added: mirror.py
2017-01-23 22:17 Kunda1 Note Added: 0007934
2017-01-23 22:18 Kunda1 Tag Attached: #pending
2017-01-24 15:31 Kunda1 Note Added: 0007962
2017-01-27 14:22 Kunda1 Status new => feedback
2017-10-17 11:08 Kunda1 Status feedback => closed
2017-10-17 11:08 Kunda1 Resolution open => no change required
2017-10-17 11:08 Kunda1 Note Added: 0010307
2017-10-17 11:08 Kunda1 Tag Detached: #pending