New experimental feature: Hi-res property in Arch
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: New experimental feature: Hi-res property in Arch
All 3 tabs of drawing views are fine in Win 7 though !
I just upgrade from Fedora / Przemof 0.17.10459 (git) to 10460. I am not sure if this make some difference - I notice the 1st drawing tab show the model now, but still not the 2nd and 3rd !?.... Oops, it find it is a random phenomenon - I open it and close it for a few times, the tabs randomly show something, part of them or nothing And the drawing tabs order seems random.
OS: Linux
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.10460 (Git)
Build type: Unknown
Branch: master
Hash: 91c59c7910436c44ede608e29d9a90a287121a11
Python version: 2.7.13
Qt version: 4.8.7
Coin version: 3.1.3
OCC version: 6.8.0.oce-0.17
I just upgrade from Fedora / Przemof 0.17.10459 (git) to 10460. I am not sure if this make some difference - I notice the 1st drawing tab show the model now, but still not the 2nd and 3rd !?.... Oops, it find it is a random phenomenon - I open it and close it for a few times, the tabs randomly show something, part of them or nothing And the drawing tabs order seems random.
OS: Linux
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.10460 (Git)
Build type: Unknown
Branch: master
Hash: 91c59c7910436c44ede608e29d9a90a287121a11
Python version: 2.7.13
Qt version: 4.8.7
Coin version: 3.1.3
OCC version: 6.8.0.oce-0.17
Re: New experimental feature: Hi-res property in Arch
I was thinking about:
none - will not display 3D at all (as archicad), useful for extreme modelling cases to show only part of model, maybe should be connected to "layer" properties?
none - will not display 3D at all (as archicad), useful for extreme modelling cases to show only part of model, maybe should be connected to "layer" properties?
Re: New experimental feature: Hi-res property in Arch
That exists already, just set "Visible" property to false
Re: New experimental feature: Hi-res property in Arch
Hi, I am trying to use this feature and have a few problems:-yorik wrote:This file implements it, for who wants to see it in action: https://github.com/uncreatednet/wikilab ... ilab.FCStd
scr.jpg
1. I have built a 'simple' version of a building by ArchWall in git 9747. When I try to use the latest git with Hi-Res support and open the file in latest git (10967), the property is just not there. I find I need to create the same object in latest version to get the Hi-Res link. Any workaround to avoid double-handling?
2. I have a 'full' / 'Hi-Res' of original model in a Building Object (see screenshot). I create a 'simple' version in ArchWall the Hi-Res / full model of the Building Object, and add the 'full' / 'Hi-Res' Building Object in the Hi-Res link. When I turn the display mode to "Hi-Res", everything disappear. "Hi-Res" does not work with building objects?
Thanks for any idea!
'Full' / 'Hi-Res' of original model in a Building Object 'Simple' version of a building by ArchWall - Link to full model of building object Turn the display mode to "Hi-Res", everything disappear. OS: Linux
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.10967 (Git)
Build type: Unknown
Branch: master
Hash: 38388cf650ef49cbce48af5dd33bdbe2487c8cbe
Python version: 2.7.13
Qt version: 4.8.7
Coin version: 3.1.3
OCC version: 6.8.0.oce-0.17
Re: New experimental feature: Hi-res property in Arch
Hello @paullee
2º) open the file with FreeCAD 0.17 and select the wall
3º) give it the property
save the file. It seems to work. does it?
Obviously, for a complete file, like your building, it's necessary a script
I hope it helps you
Goodbye
1º) do a simple wall with FreeCAD 0.16. Save the file and closepaullee wrote:Any workaround to avoid double-handling?
2º) open the file with FreeCAD 0.17 and select the wall
Code: Select all
w=App.ActiveDocument.Wall
Code: Select all
from PySide.QtCore import QT_TRANSLATE_NOOP
wall.addProperty("App::PropertyLink","HiRes","Arch",QT_TRANSLATE_NOOP("App::Property","An optional higher-resolution mesh or shape for this object"))
Obviously, for a complete file, like your building, it's necessary a script
I hope it helps you
Goodbye
Re: New experimental feature: Hi-res property in Arch
I really need to make a system that updates the needed properties on file opening... Someone did that for the DrawingView and it works pretty well.
As for your issue, no, the HiRes object must have a shape, and the building doesn't have one, it's a simple group container...
As for your issue, no, the HiRes object must have a shape, and the building doesn't have one, it's a simple group container...
Re: New experimental feature: Hi-res property in Arch
Thanks! This Hi-Res idea is great! I just find and am further testing Part Compound (and just note there is Arch Component but which is not parametric) with some success. (Maybe Xref could be added to the Display Mode as well? The Arch (any objects) may now be just an visual indicator / symbol of the referenced objects... lots of possibilities.)yorik wrote:I really need to make a system that updates the needed properties on file opening... Someone did that for the DrawingView and it works pretty well.
As for your issue, no, the HiRes object must have a shape, and the building doesn't have one, it's a simple group container...
However,
there seem to be some 'bug' in the Part Compound but the basic concept seems works - I just create a piece of arbitrary Arch Wall to house the whole Bldg Object, cloning and relocating the Flat Lines 'version' become quite easy, though file size grow almost 80% - (2 blocks in 2nd last image, 2 walls in last image). Now I just clone one building. I can create a Radiant City in FC? yet to test.
The 'problem' is the created Part Compound seems 'buggy' on appearance - there is some walls seems become slightly transparent and some lines of the models behind shown up (see screenshots 1st to 3rd images below - the walls are solid in original models before Part Compound). I remember there is discussion / updates that Part Clone etc. respect each of the visual properties of its components. I am not sure if this is related.
Re: New experimental feature: Hi-res property in Arch
Further test !paullee wrote:
Now I just clone one building. I can create a Radiant City in FC? yet to test.
1. Array of the Arch Object with Hi-Res does not work - simply an array of the Flatlines 'version' of the objects (the 4 wall on left of screenshots).
2. Clone works as tested before (not a complete bldg in the test shown, not head and bottom etc, just quick test to confirm the workflow works)...
2a. ... and with 1 block it is about 12mB file size
with 2 blocks it is about 22mB
... i made 4 blocks which are still about 22mB !!!
... (I want to try 30 blocks or more now )
Re: New experimental feature: Hi-res property in Arch
damian wrote:Hello @paullee1º) do a simple wall with FreeCAD 0.16. Save the file and closepaullee wrote:Any workaround to avoid double-handling?
2º) open the file with FreeCAD 0.17 and select the wall3º) give it the propertyCode: Select all
w=App.ActiveDocument.Wall
save the file. It seems to work. does it?Code: Select all
from PySide.QtCore import QT_TRANSLATE_NOOP wall.addProperty("App::PropertyLink","HiRes","Arch",QT_TRANSLATE_NOOP("App::Property","An optional higher-resolution mesh or shape for this object"))
Obviously, for a complete file, like your building, it's necessary a script
I hope it helps you
Goodbye
Definitely helpful, will test soon !
Re: New experimental feature: Hi-res property in Arch
Great tests! The size increase is most probably because some shape is duplicated somehow... Hard to tell. But indeed the Hi-Res system doesn't save anything on disk, so the size increaze should be zero.
Actually we could add a mode to the Draft clone that acts like the Hi-Res mode (it would clone only the coin node, not the shape), that might be pretty useful...
As for the transparency problem, I saw that too, it happens when a same shape has transparent and not transparent faces... Couldn't find what the problem is yet.
Actually we could add a mode to the Draft clone that acts like the Hi-Res mode (it would clone only the coin node, not the shape), that might be pretty useful...
As for the transparency problem, I saw that too, it happens when a same shape has transparent and not transparent faces... Couldn't find what the problem is yet.