Raytrace fails if some parts are included
Forum rules
and Helpful information
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help
Also, be nice to others! Read the FreeCAD code of conduct!
Also, be nice to others! Read the FreeCAD code of conduct!
Raytrace fails if some parts are included
FreeCad version 0.18 git 16093
povray 3.7
windows 10
I am performing a pov-ray raytrace and receive an error: unknown exception in feature "part_feature010_child0_child1437_view" thrown.
The source step file contains 3 type cc fuse blocks. I removed 2 fuse blocks to speed up debugging. I then exploded the fuse block to get it to a specific line. This wasn't helpful for me.
Still being raw at CAD, I tried several things that might fix or hide the issue. I tried converting the fuse block to a solid, union, compound and create simple copy. None allowed a successful raytrace.
I also did the standard searching the internet and researching this site.
The attached file is a type cc fuse holder. Had to zip it, 6g un-compressed.
Thank You...Sandy
povray 3.7
windows 10
I am performing a pov-ray raytrace and receive an error: unknown exception in feature "part_feature010_child0_child1437_view" thrown.
The source step file contains 3 type cc fuse blocks. I removed 2 fuse blocks to speed up debugging. I then exploded the fuse block to get it to a specific line. This wasn't helpful for me.
Still being raw at CAD, I tried several things that might fix or hide the issue. I tried converting the fuse block to a solid, union, compound and create simple copy. None allowed a successful raytrace.
I also did the standard searching the internet and researching this site.
The attached file is a type cc fuse holder. Had to zip it, 6g un-compressed.
Thank You...Sandy
- Attachments
-
- 80004126 bus-ele-cd-bccmm603 (cc fuse block).rar
- 3 x type cc fuse block step file
- (982.56 KiB) Downloaded 29 times
Re: Raytrace fails if some parts are included
I'm sorry, but I don't understand where the problem is. Rendering is independent of 3D CAD modelling. Where do you get this error message? In the modelling part (FreeCAD)? Or in the rendering part (running POV-Ray)?
It seems you are having problems with importing Step files and doing boolean operations, so that is independent of running POV-Ray.
Well, this information isn't very helpful if you don't say what you attempted or what guides you followed.I also did the standard searching the internet and researching this site.
Don't attach .rar files. They are very bad in the Linux community, which a lot of people that work with FreeCAD use. Use a simple .zip. Also, attach the FreeCAD file without compressing it, and other objects separately.
Always add the important information to your posts if you need help. Also see Tutorials and Video tutorials.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
Re: Raytrace fails if some parts are included
The problem is, every part in those assemblies is crap. I see it was exported from solidworks. Running a geometry check on even the simplest part, 1A5004-Screw-Tamper-Proof_1, shows the following -
FreeCAD isn't able to translate, due to errors, into the math that POVray needs to complete a render. At least that would be my guess at it. The problem is in the imported parts, not FreeCAD or the Raytracing workbench.
Mark
Code: Select all
Name Type Error
Unnamed.Part__Feature002 Solid Invalid
Edge10 Edge BOPAlgo_InvalidCurveOnSurface
Face3 Face BOPAlgo_InvalidCurveOnSurface
Edge4 Edge BOPAlgo_InvalidCurveOnSurface
Face3 Face BOPAlgo_InvalidCurveOnSurface
Edge3 Edge BOPAlgo_InvalidCurveOnSurface
Face7 Face BOPAlgo_InvalidCurveOnSurface
Edge15 Edge BOPAlgo_InvalidCurveOnSurface
Face7 Face BOPAlgo_InvalidCurveOnSurface
Mark
This post made with 0.0% Micro$oft products - GOT LINUX?
Re: Raytrace fails if some parts are included
Hi Mark
I figured that Freecad didn't like something about the step file. I was trying conversions in the hope that it might fix the problem. I was also kind of looking for a clean function but I don't think it exists. Any ideas on how to move forward? I don't want to create the part if I can avoid it. Would it be better to look for a different step file. If so, I have looked, any ideas where to look, you probably know all the good sites.
Thanks Sandy
I figured that Freecad didn't like something about the step file. I was trying conversions in the hope that it might fix the problem. I was also kind of looking for a clean function but I don't think it exists. Any ideas on how to move forward? I don't want to create the part if I can avoid it. Would it be better to look for a different step file. If so, I have looked, any ideas where to look, you probably know all the good sites.
Thanks Sandy
Re: Raytrace fails if some parts are included
Hi Mark
Although I know there is something wrong with part, I ran the Geometry check. The test results said "15 processed out of 47 selected, 0 invalid shapes".
Unnamed.Part__Feature011:
VERTEX : 212
EDGE : 327
WIRE : 133
FACE : 122
SHELL : 1
SOLID : 1
COMPSOLID : 0
COMPOUND : 0
SHAPE : 796
Unnamed.Part__Feature013:
VERTEX : 12
EDGE : 18
WIRE : 10
FACE : 9
SHELL : 1
SOLID : 1
COMPSOLID : 0
COMPOUND : 0
SHAPE : 51
Unnamed.Part__Feature008:
VERTEX : 12
EDGE : 18
WIRE : 10
FACE : 9
SHELL : 1
SOLID : 1
COMPSOLID : 0
COMPOUND : 0
SHAPE : 51
Unnamed.Part__Feature010:
VERTEX : 2516
EDGE : 4457
WIRE : 1787
FACE : 1780
SHELL : 1
SOLID : 1
COMPSOLID : 0
COMPOUND : 0
SHAPE : 10542
Unnamed.Part__Feature007:
VERTEX : 12
EDGE : 18
WIRE : 10
FACE : 9
SHELL : 1
SOLID : 1
COMPSOLID : 0
COMPOUND : 0
SHAPE : 51
Unnamed.Part__Feature004:
VERTEX : 212
EDGE : 327
WIRE : 133
FACE : 122
SHELL : 1
SOLID : 1
COMPSOLID : 0
COMPOUND : 0
SHAPE : 796
Unnamed.Part__Feature001:
VERTEX : 212
EDGE : 327
WIRE : 133
FACE : 122
SHELL : 1
SOLID : 1
COMPSOLID : 0
COMPOUND : 0
SHAPE : 796
Unnamed.Part__Feature003:
VERTEX : 12
EDGE : 18
WIRE : 10
FACE : 9
SHELL : 1
SOLID : 1
COMPSOLID : 0
COMPOUND : 0
SHAPE : 51
Unnamed.Part__Feature006:
VERTEX : 212
EDGE : 327
WIRE : 133
FACE : 122
SHELL : 1
SOLID : 1
COMPSOLID : 0
COMPOUND : 0
SHAPE : 796
Unnamed.Part__Feature005:
VERTEX : 2516
EDGE : 4457
WIRE : 1787
FACE : 1780
SHELL : 1
SOLID : 1
COMPSOLID : 0
COMPOUND : 0
SHAPE : 10542
Unnamed.Part__Feature009:
VERTEX : 212
EDGE : 327
WIRE : 133
FACE : 122
SHELL : 1
SOLID : 1
COMPSOLID : 0
COMPOUND : 0
SHAPE : 796
Unnamed.Part__Feature012:
VERTEX : 12
EDGE : 18
WIRE : 10
FACE : 9
SHELL : 1
SOLID : 1
COMPSOLID : 0
COMPOUND : 0
SHAPE : 51
Unnamed.Part__Feature002:
VERTEX : 12
EDGE : 18
WIRE : 10
FACE : 9
SHELL : 1
SOLID : 1
COMPSOLID : 0
COMPOUND : 0
SHAPE : 51
Unnamed.Part__Feature014:
VERTEX : 212
EDGE : 327
WIRE : 133
FACE : 122
SHELL : 1
SOLID : 1
COMPSOLID : 0
COMPOUND : 0
SHAPE : 796
Unnamed.Part__Feature:
VERTEX : 2516
EDGE : 4457
WIRE : 1787
FACE : 1780
SHELL : 1
SOLID : 1
COMPSOLID : 0
COMPOUND : 0
SHAPE : 10542
Although I know there is something wrong with part, I ran the Geometry check. The test results said "15 processed out of 47 selected, 0 invalid shapes".
Unnamed.Part__Feature011:
VERTEX : 212
EDGE : 327
WIRE : 133
FACE : 122
SHELL : 1
SOLID : 1
COMPSOLID : 0
COMPOUND : 0
SHAPE : 796
Unnamed.Part__Feature013:
VERTEX : 12
EDGE : 18
WIRE : 10
FACE : 9
SHELL : 1
SOLID : 1
COMPSOLID : 0
COMPOUND : 0
SHAPE : 51
Unnamed.Part__Feature008:
VERTEX : 12
EDGE : 18
WIRE : 10
FACE : 9
SHELL : 1
SOLID : 1
COMPSOLID : 0
COMPOUND : 0
SHAPE : 51
Unnamed.Part__Feature010:
VERTEX : 2516
EDGE : 4457
WIRE : 1787
FACE : 1780
SHELL : 1
SOLID : 1
COMPSOLID : 0
COMPOUND : 0
SHAPE : 10542
Unnamed.Part__Feature007:
VERTEX : 12
EDGE : 18
WIRE : 10
FACE : 9
SHELL : 1
SOLID : 1
COMPSOLID : 0
COMPOUND : 0
SHAPE : 51
Unnamed.Part__Feature004:
VERTEX : 212
EDGE : 327
WIRE : 133
FACE : 122
SHELL : 1
SOLID : 1
COMPSOLID : 0
COMPOUND : 0
SHAPE : 796
Unnamed.Part__Feature001:
VERTEX : 212
EDGE : 327
WIRE : 133
FACE : 122
SHELL : 1
SOLID : 1
COMPSOLID : 0
COMPOUND : 0
SHAPE : 796
Unnamed.Part__Feature003:
VERTEX : 12
EDGE : 18
WIRE : 10
FACE : 9
SHELL : 1
SOLID : 1
COMPSOLID : 0
COMPOUND : 0
SHAPE : 51
Unnamed.Part__Feature006:
VERTEX : 212
EDGE : 327
WIRE : 133
FACE : 122
SHELL : 1
SOLID : 1
COMPSOLID : 0
COMPOUND : 0
SHAPE : 796
Unnamed.Part__Feature005:
VERTEX : 2516
EDGE : 4457
WIRE : 1787
FACE : 1780
SHELL : 1
SOLID : 1
COMPSOLID : 0
COMPOUND : 0
SHAPE : 10542
Unnamed.Part__Feature009:
VERTEX : 212
EDGE : 327
WIRE : 133
FACE : 122
SHELL : 1
SOLID : 1
COMPSOLID : 0
COMPOUND : 0
SHAPE : 796
Unnamed.Part__Feature012:
VERTEX : 12
EDGE : 18
WIRE : 10
FACE : 9
SHELL : 1
SOLID : 1
COMPSOLID : 0
COMPOUND : 0
SHAPE : 51
Unnamed.Part__Feature002:
VERTEX : 12
EDGE : 18
WIRE : 10
FACE : 9
SHELL : 1
SOLID : 1
COMPSOLID : 0
COMPOUND : 0
SHAPE : 51
Unnamed.Part__Feature014:
VERTEX : 212
EDGE : 327
WIRE : 133
FACE : 122
SHELL : 1
SOLID : 1
COMPSOLID : 0
COMPOUND : 0
SHAPE : 796
Unnamed.Part__Feature:
VERTEX : 2516
EDGE : 4457
WIRE : 1787
FACE : 1780
SHELL : 1
SOLID : 1
COMPSOLID : 0
COMPOUND : 0
SHAPE : 10542
Re: Raytrace fails if some parts are included
Do you have BOPcheck enabled? Tools > Edit parameters ... > Preferences > Mod > Part > CheckGeometry >RunBOPCheck-Boolean-true
If your comfortable with Blender, you can export the part to a blender friendly format from FreeCAD and render it there. Blender is much more powerful.
Mark
If your comfortable with Blender, you can export the part to a blender friendly format from FreeCAD and render it there. Blender is much more powerful.
Mark
This post made with 0.0% Micro$oft products - GOT LINUX?
Re: Raytrace fails if some parts are included
Hi Mark
The default on that check should be true, useful tool.
I ran the check and you are right.
Unless I come up with a resolution, I consider this issue closed.
Thanks for your help.
Sandy
The default on that check should be true, useful tool.
I ran the check and you are right.
Unless I come up with a resolution, I consider this issue closed.
Thanks for your help.
Sandy
Re: Raytrace fails if some parts are included
Like I said, Blender will work, and it's not that hard to get the basics working.
This post made with 0.0% Micro$oft products - GOT LINUX?
Re: Raytrace fails if some parts are included
How come I don't see that option on my system?Do you have BOPcheck enabled? Tools > Edit parameters ... > Preferences > Mod > Part > CheckGeometry >RunBOPCheck-Boolean-true
OS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16093 +17 (Git)
Build type: Release
Branch: (HEAD detached at 0.18.1)
Hash: f7dccfaa909e5b9da26bf50c4a22ccca9bb10c40
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: English/UnitedStates (en_US)
Re: Raytrace fails if some parts are included
Part_CheckGeometry#Activate_extra_BOP_check
If the parameter or folder does not exist, you can create by (...)