View Issue Details

IDProjectCategoryView StatusLast Update
0002685FreeCADBugpublic2016-09-05 02:13
ReporterBerner Assigned Toyorik  
PrioritynormalSeverityblockReproducibilityalways
Status closedResolutionfixed 
Platform64bit amdOSLinux 64 bitOS VersionDebian 8.5
Product Version0.16 
Summary0002685: Luxrender failed with Syntax-Error
DescriptionI have tried to render my project with luxrender and got a syntax error on line 126.
The Error Messages in Luxrender-Console are:
2016-08-30 10:29:47 Info: 0] Freeing resources.
[2016-08-30 10:29:47 Info: 0] Freeing resources.
[2016-08-30 10:29:47 Info: 0] Server requests interval: 180 seconds
[2016-08-30 10:29:47 Info: 0] Loading scene file: '/tmp/tmpTGB9kM.lxs'...
[2016-08-30 10:29:47 Severe error: 47] Parsing error in file '/tmp/tmpTGB9kM.lxs' at line 126: syntax error







AttributeBegin # "Lux_Rectangle"
Transform [1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1]
NamedMaterial "FreeCADMaterial_Lux_Rectangle"
Shape "mesh"
    "integer triindices" [] <------ Syntax error on this line
    "point P" []
    "normal N" []
    "bool generatetangents" ["false"]
    "string name" ["Lux_Rectangle"]
AttributeEnd # ""







OS: Debian GNU/Linux 8.5 (jessie)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.
Build type: None
Python version: 2.7.9
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
Steps To ReproduceLoad my haus-project and try to render it with luxrender.

I dont have this problem with povray!
TagsNo tags attached.
FreeCAD Information

Activities

Berner

2016-08-30 09:14

reporter  

haus.fcstd (Attachment missing)

yorik

2016-08-31 00:04

administrator   ~0007299

I'll have a look

yorik

2016-09-05 01:49

administrator   ~0007305

Ok the problem is that you included in your lux project objects that have no face (for ex. the "Rectangle" object). But there is a bug anyway, these should not be exported as invalid objects as they are now, and should be skipped.

Related Changesets

FreeCAD: master 1a0efaa4

2016-09-05 04:12:53

yorik

Details Diff
Raytracing: Yield error when creating a Luxrender view of a shape with no faces - fixes 0002685 Affected Issues
0002685
mod - src/Mod/Raytracing/App/LuxFeature.cpp Diff File

Issue History

Date Modified Username Field Change
2016-08-30 09:14 Berner New Issue
2016-08-30 09:14 Berner File Added: haus.fcstd
2016-08-31 00:04 yorik Note Added: 0007299
2016-08-31 00:04 yorik Assigned To => yorik
2016-08-31 00:04 yorik Status new => assigned
2016-09-05 01:49 yorik Note Added: 0007305
2016-09-05 02:13 yorik Changeset attached => FreeCAD Master master 1a0efaa4
2016-09-05 02:13 yorik Status assigned => closed
2016-09-05 02:13 yorik Resolution open => fixed