Rebar Models will not render
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Rebar Models will not render
I'm having problems showing rebar models in Techdraw.
I have a concrete frame structure that I modeled. It has columns and beams filled with rebar.
I can render the entire set of rebar using a 3d view. However, when I try to put the 3d view into a Techdraw page, the program goes off chasing rabbits and never comes back.
It looks like FC is spawning lots of CPU threads but it is not using the GPU (which I would have expected).
I found references to this problem, but I could not find any statement regarding the solution to the problem.
Is there a work around? If not, is there a plan to fix it?
BTW - I tried using Chief Architect to model the same structure and failed. Kudos to the developers.
-David
OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.21937 (Git)
Build type: Release
Branch: master
Hash: 0de5a290113800dc5779a76d7e216bd882e0ed1e
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United States (en_US)
I have a concrete frame structure that I modeled. It has columns and beams filled with rebar.
I can render the entire set of rebar using a 3d view. However, when I try to put the 3d view into a Techdraw page, the program goes off chasing rabbits and never comes back.
It looks like FC is spawning lots of CPU threads but it is not using the GPU (which I would have expected).
I found references to this problem, but I could not find any statement regarding the solution to the problem.
Is there a work around? If not, is there a plan to fix it?
BTW - I tried using Chief Architect to model the same structure and failed. Kudos to the developers.
-David
OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.21937 (Git)
Build type: Release
Branch: master
Hash: 0de5a290113800dc5779a76d7e216bd882e0ed1e
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United States (en_US)
- wandererfan
- Veteran
- Posts: 6317
- Joined: Tue Nov 06, 2012 5:42 pm
- Contact:
Re: Rebar Models will not render
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Re: Rebar Models will not render
Right now I'm busy for the next two days. As soon as I finish my current task I will post the diagnostic information.
-David
-David
Re: Rebar Models will not render
Thank you
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Re: Rebar Models will not render
I'm think it will be same problem in rebar object.
output6.iv is get from select footing object after insert second rebar.(file size is about 344kB) When open output6.iv file for check,it have many points in coordinate data(approx. 2,900 points)
output5.iv is get from select footing object contain first rebar.(file size is about 5kB , approx. 22 data points)"Strange object appear on the face of structure, when create rebar"
https://forum.freecadweb.org/viewtopic. ... 84#p415185
output6.iv is get from select footing object after insert second rebar.(file size is about 344kB) When open output6.iv file for check,it have many points in coordinate data(approx. 2,900 points)
Code: Select all
rebar1 = FreeCADGui.Selection.getSelection()[0]
fName = open('c:\\2020\\07Jul\\output6.iv' , 'w')
fName.write(rebar1.ViewObject.IV)
fName.close()
Code: Select all
OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.22111 (Git)
Build type: Release
Branch: master
Hash: cb2099aa6bb287a8d7843eb70684cce79bdef26b
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United States (en_US)
- Attachments
-
- TestRebar1.FCStd
- (42.82 KiB) Downloaded 74 times
-
- output6.iv
- (343.64 KiB) Downloaded 66 times
-
- output5.iv
- (4.87 KiB) Downloaded 70 times
Re: Rebar Models will not render
I was asked to post the offending model. So here it is.
The following is a dropbox link that will be good for a week.
https://www.dropbox.com/t/jpGwxeqmnRNROj7k
The link refers to four files
Addition-ANSIB.svg - the template file that was used to illustrate the bug
Rebar-Hide.FCMacro and Rebar-Show.FCMacro - I use these macros to turn on/off the rebar objects in the model.
ConcreteFrameDesign.FCStd - the model that contains the rebar that I would like to display using Techdraw.
In the model itself, there is a Techdraw page called RebarModelPerspective. It has a view that has been populated with the entire set of rebar in the model but has not been evaluated for display. Right-click on the RebarModelPerspective object in the combo view tree and turn on "ToggleKeepUpdated".
FC starts the updating and never returns.
The version information for FreeCAD is
OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.21937 (Git)
Build type: Release
Branch: master
Hash: 0de5a290113800dc5779a76d7e216bd882e0ed1e
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United States (en_US)
The following is a dropbox link that will be good for a week.
https://www.dropbox.com/t/jpGwxeqmnRNROj7k
The link refers to four files
Addition-ANSIB.svg - the template file that was used to illustrate the bug
Rebar-Hide.FCMacro and Rebar-Show.FCMacro - I use these macros to turn on/off the rebar objects in the model.
ConcreteFrameDesign.FCStd - the model that contains the rebar that I would like to display using Techdraw.
In the model itself, there is a Techdraw page called RebarModelPerspective. It has a view that has been populated with the entire set of rebar in the model but has not been evaluated for display. Right-click on the RebarModelPerspective object in the combo view tree and turn on "ToggleKeepUpdated".
FC starts the updating and never returns.
The version information for FreeCAD is
OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.21937 (Git)
Build type: Release
Branch: master
Hash: 0de5a290113800dc5779a76d7e216bd882e0ed1e
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United States (en_US)
Re: Rebar Models will not render
Also, I have not yet performed the following
-David
That is the next step.Have you used Part.CheckGeometry on your model yet?
-David
Re: Rebar Models will not render
I managed to select all 182 instance of rebar objects and then ran the check geometry tool.
It showed no invalid shapes.
-David
It showed no invalid shapes.
-David
- wandererfan
- Veteran
- Posts: 6317
- Joined: Tue Nov 06, 2012 5:42 pm
- Contact:
Re: Rebar Models will not render
The program does eventually complete the task, but it does take a very long time. Typically, extended run times for inserting a view are due to high shape counts or geometry errors. In this case both apply.
The individual shapes may be valid, but the Compound of all 24,700 shapes is not valid. The compound is required as input to the projection/hidden line removal algorithms.
We really need a different drawing algorithm for cases where hidden lines are not required.