Materials Missing in Viewport after Forking OD_Project_Template.ifc #10
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ Ryan,
I forked the template URL: https://hub.openingdesign.com/GerardT/OD_Project_Template.git
I'm having an issue with materials not displaying in the viewport after opening the OD_Bonsai_Template.ifc file and activating both Material Preview and Rendered modes. What steps might I be missing to make the materials visible?
Hi,
You have to clone the following repo, as well.
https://hub.openingdesign.com/OpeningDesign/OD_Submodules
Clone it recursively, as it's a repo, with submodules in it.
Make sure you clone it 'next to' the OD_Project_Template folder, like the following. That way, the relative links will work.
I cloned the OD_Submodules, directory: C:\Users\xt\XXX\Documents\OD_Submodules
✅ Check "Recursive" with TortoiseGit.
The OD_Project_Template is already cloned here:
C:\Users\xt\XXX\Documents\OD_Project_Template
The OD_Submodules are sitting right next to OD_Project_Template in the same Documents folder.
Same issue: materials not displaying in the viewport.
Hmm, i tried a test and cloned anew, and it seems to work for me...
When you cloned OD_submodules did you clone 'recursively'? That pulls all the content in the git submodules down.
If so, as a test, if you open
OD_Submodules\OD_Textures\Materials.blendcan you see the material assignments?I cloned the OD_Submodules, directory: C:\Users\xt\XXX\Documents\OD_Submodules
✅ Check "Recursive" with TortoiseGit.
I think the best way would be to make a demo video showing how to open OD_Project_Template.ifc and assign an external material.
when i open
OD_Project_Template.ifcanew the materials just show up. I don't have do anything.Can you physically open
Material.blendto see if the materials are being rendered there correctly? Show me a screenshoot of that file open.Hmmm... running out of answers. :)
How about trying these (2) measures? #7 (comment)
Please resend the screenshot for Bonsai and material/style, but exclude the Windows folder image this time.
i can, but what are you looking for? I'm not sure i follow what your trying to see.
This screenshot will help me solve the problems using LLMs.
I'm not in front of my computer today, but can send a stripped down test tomorrow to help troubleshoot.
...
Meanwhile did you try these approaches... #7 (comment)
Try pulling down the latest from
https://hub.openingdesign.com/OpeningDesign/OD_Project_Template
I added a file at...
Open/Models/Bonsai/test.ifcI just put one style in there, that's pulling from
OD_Submodules/OD_Textures/Materials.blend,Let me know if that works.
The test. ifc file is missing from my repo, which I forked from
I realized that my first OD_Project_Template was missing some folders and files. I don't know what happened!
I cloned (New).
The materials are displayed in the Viewport.
How do I change the units of OD_Project_Template.ifc from Imperial to Metric?
looks like you'll have to manually change the scale on the drawings...
My project Overview is set to the Metric system by default.
(Approach): Why isn't the OD_Project_Template.ifc file converted directly to metric units when opened via File → Open IFC Project?
Why is the test.ifc file is missing, and the OD_Project_Template.ifc file is not updated, in my repository fork?
You basically have to manually merge, or pull in the changes from the https://hub.openingdesign.com/OpeningDesign/Bonsai_Tutorials repo.
There's multiple ways to do this, but here's one via the website...
After you do this, pull down the change to your local machine.
It just doesn't work that way. You need to do the following to convert to metric...
Hi, just wanted to say thank you for posting this issue/question and solution. I've been working through the tutorials as well. so this helped me with the download of OD_Submodules, and recreating the textures in the OD_Project_Template.ifc.
After reading this thread, the following worked for me: (note on linux here)
git clone --recurse-submodules https://concernedconsumer@hub.openingdesign.com/OpeningDesign/OD_Submodules.git
I placed the resulting subdirectory/folder, OD_Submodules, next to my OD_Project_Template subdirectory (previously downloaded). When I opened my file, OD_Project_Template/Open/Model/Bonsai/OD_Bonsai_Template.ifc, the textures began appearing on the various objects: Composite walls, ceilings with insulation, Appliances, etc.
Two things I noted: 1) the git clone of OD_Submodules takes abit of time (lots of files). So it was several minutes before it told me it was counting, reading, and writing files. 2) some items (appliances) in the OD_Bonsai_Template.ifc were magenta because the did not sure textures (styles). I simply went to the OD_Submodules subdirectory/Materials.blend file and clicked on "find missing files" - it found them. I may have reassigned in the .ifc file, after that as well.
Anyway this thread helped with one of those not-so-obvious issues for me.