Arch Texture Workbench
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Arch Texture Workbench
Hi,
worked on a texturing workbench the last couple of weeks. Now the workbench works pretty OK. So i think it is time to share the Workbench with you.
The workbench can be found here (https://github.com/furti/FreeCAD-ArchTextures). The Readme also contains a small "Getting Started" guide and some technical insight on the project if someone is interested in such things.
As a Picture says more than a thousand words. The workbench can be used to get from something like this to something like this It is only tested with the Py3/QT5 Builds of 0.18 right now. There is some issue with loading the texture in Py2 Builds.
Maybe this workbench can be of use for others too
Edit: There is alo a discussion about texturing in arch module available http://forum.freecadweb.org/viewtopic.php?t=31667
Edit 2:
When you have a help request please post to the following topic: https://forum.freecadweb.org/viewtopic.php?f=3&t=38222
For feature requests or development stuff post to this topic: https://forum.freecadweb.org/viewtopic.php?f=10&t=38223
Best Regards
Daniel
worked on a texturing workbench the last couple of weeks. Now the workbench works pretty OK. So i think it is time to share the Workbench with you.
The workbench can be found here (https://github.com/furti/FreeCAD-ArchTextures). The Readme also contains a small "Getting Started" guide and some technical insight on the project if someone is interested in such things.
As a Picture says more than a thousand words. The workbench can be used to get from something like this to something like this It is only tested with the Py3/QT5 Builds of 0.18 right now. There is some issue with loading the texture in Py2 Builds.
Maybe this workbench can be of use for others too
Edit: There is alo a discussion about texturing in arch module available http://forum.freecadweb.org/viewtopic.php?t=31667
Edit 2:
When you have a help request please post to the following topic: https://forum.freecadweb.org/viewtopic.php?f=3&t=38222
For feature requests or development stuff post to this topic: https://forum.freecadweb.org/viewtopic.php?f=10&t=38223
Best Regards
Daniel
Last edited by furti on Thu Aug 01, 2019 3:57 pm, edited 2 times in total.
Re: Arch Texture Workbench
THIS.IS.AWESOME!
Edit1: I wonder if there can be some sort of collaboration or sharing of resources with SweetHome3D ?
Edit2: http://www.sweethome3d.com/importTextures.jsp
Edit1: I wonder if there can be some sort of collaboration or sharing of resources with SweetHome3D ?
Edit2: http://www.sweethome3d.com/importTextures.jsp
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: Arch Texture Workbench
Yes This is really Awesome!!! Another Good News since BIM wb!
Really a Breakthrough for Arch since an old thread on this issue... long anticipating someone can do more and here it is! (Maybe this works for other WB objects?)
... with elementary Python knowledge, I can only tweak a few features in ArchStairs.py, it seems this is too advanced for me to understand not to mention contributing at the moment...
Really a Breakthrough for Arch since an old thread on this issue... long anticipating someone can do more and here it is! (Maybe this works for other WB objects?)
... with elementary Python knowledge, I can only tweak a few features in ArchStairs.py, it seems this is too advanced for me to understand not to mention contributing at the moment...
- Should this be available on Add-on?
- And probably a separate thread in Arch Board for more discussion?
Re: Arch Texture Workbench
Thanks a lot for the kind words
But if someone has a use case for textures outside the architectural field, I'm open to implement it
At first I will aim for a good feature set and user experience for texturing stuff in FreeCAD. Afterwards the data in the texture configuration might be good enough to export it to other file formats
Maybe yes, maybe no I think it depends on what somebody wants to do. The goal for now is to texture arch stuff. The reason for this is that for most arch objects it is sufficient to simply map the same texture to each face. But when it comes to arbitrary objects / meshes this might not be what one expects. It will quickly get very complex with UV unwrapping and stuff. There are applications out there (e.g. Blender) that are really good in this field. Don't know if it is worth the effort to reimplement such things in FreeCAD
But if someone has a use case for textures outside the architectural field, I'm open to implement it
Now you underestimate yourself. I followed your Arch Stair topic. Pretty impressive what you have done there
If there is some interest for this workbench I will create a request to add it to the Addon-Manager.
Re: Arch Texture Workbench
It is easier for the general public and new users to know about your contribution if your WB is listed in the Adon-Manager. Easy to find, easy to install.
::bitacovir::
==================
One must be absolutely modern.
Arthur Rimbaud (A Season in Hell -1873)
Canal Youtube Grupo Telegram de FreeCAD Español
My personal web site
My GitHub repository
Mini Airflow Tunnel Project
==================
One must be absolutely modern.
Arthur Rimbaud (A Season in Hell -1873)
Canal Youtube Grupo Telegram de FreeCAD Español
My personal web site
My GitHub repository
Mini Airflow Tunnel Project
- Pauvres_honteux
- Posts: 728
- Joined: Sun Feb 16, 2014 12:05 am
- Location: Far side of the moon
Re: Arch Texture Workbench
I do not ... I have not even figured out all the code in your InitGui.py Learning from it. Thanks for checking my attempt on ArchStairs.py...
Anyway, as there is a thread in Arch Discussion Board, maybe have a link here or better still in your 1st post? https://forum.freecadweb.org/viewtopic.php?f=23&t=31667
Re: Arch Texture Workbench
Thanks for the hint. Added the link to my first post.
I have an idea how this might work. But will need some time until this might be possible
I don't know if it is good code or not
But basically i use the toolbar manager. This is a small class that holds a list of all available commands and the toolbar it belongs to. And in InitGui.py I iterate over the list and add the commands.
I do this because so the command registers itself at the toolbar manager. And I don't have to write the same line of code in initgui for each command. Normall i copy a existing command when creating a new one. Then the line to register the command is already in it. One thing less i can forget when creating a new command
If there is some interest on how/why things work like they do, feel free to ask and i try to explain it
Re: Arch Texture Workbench
Thanks for explanation, that's exactly the first thing I am wondering at!furti wrote: ↑Sat Oct 20, 2018 5:33 am
But basically i use the toolbar manager. This is a small class that holds a list of all available commands and the toolbar it belongs to. And in InitGui.py I iterate over the list and add the commands.
I do this because so the command registers itself at the toolbar manager. And I don't have to write the same line of code in initgui for each command. Normall i copy a existing command when creating a new one. Then the line to register the command is already in it. One thing less i can forget when creating a new command
I also learned OrderedDict googling! - previously only heard of Dict.
Re: Arch Texture Workbench
It is possible now to rotate textures for individual faces.
If a face is not mapped correctly like this
you can define a Rotation for the wrong face
The usage of the tool is documented at the end of the getting started guide.
If a face is not mapped correctly like this
you can define a Rotation for the wrong face
The usage of the tool is documented at the end of the getting started guide.