News:

Be sure your post is relevant to the current discussion.  Create a new topic within the appropriate board if you are unsure.

Main Menu
TurboCAD 2026 Platinum box
Now available

TurboCAD 2026.2

The latest update for TurboCAD 2026. It installs over any 2026 build and keeps your activation, drawings and settings. Get it from the Start Page or Help > Check for Update.

Adding gloss versions of existing matte materials-Lightworks

Started by Steve Edwards, May 17, 2021, 12:34:39 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Steve Edwards

Some while back I added  TurboCAD Color-Deluxe.mat to my Materials pallet as per the John R post (image attached). The download contains sub folders for glass materials, some gloss and a full Turbocad colour pallet of Matt materials.


What I was hoping to do is take the Matt materials create a new (re-named folder) and convert them to Gloss (CarPaint, so called).
I would then have Matt and Gloss versions of all the standard TurboCad colours.


I have managed to create a new version of "TurboCAD Color-Deluxe.mat" by copying and re-naming it "TurboCAD Colour Gloss".
There are two problems with this approach, 1) the sub-folder is still named Matte (see image) and there seems no way of re-naming it to Gloss even through Windows Explorer and 2) I hoped, rather than changing each from Matte to Carpaint one by one, this being very tedious (I have done some this way), that there was a way of automating this process. Also if there was such a method I could create a "Mirror" or "Phong" versions later by a similar process.


I have looked at the .mat File in Notepad and have Replaced every occurrence of TurboCAD Color with TurboCAD Colour which allowed me to "Load new materials" within Turbocad 2020 without conflict with the existing TurboCAD Color pallet. I was hoping there was a way of replacing Matte with Carpaint by a similar process but this does not seem feasible.


The attached images show the post where I downloaded the original .mat file from and     
Anyone got any ideas ?
TurboCAD Platinum 2024
NVIDIA RTX 4000
12th Gen Intel(R) Core(TM) i9-12900K   3.20 GHz
Windows 11 Pro (64)
64 GB RAM
Bambu P1S with AMS

Alvin Gregorio

#1
I'll tell you what I just did Steve, successfully.  Others might have a better suggestion/instruction.
___
>I edited the "propin.dat" file, found at C:\Users\alvin\AppData\Roaming\IMSIDesign\TurboCAD 2020\Platinum x64\Materials

>Closed out of TurboCAD 2020 Platinum
>I opened that "propin.dat" file in Notepad
>I used Notepad's "Find" feature to quickly get to the first instance of "TurboCAD Color\Matte..."
>I placed a marker ("===============================...") just above that, so I could quickly come back to it, if needed.
>Holding down the Shift key, I selected the first instance, starting with "<Material>;", and scrolled down to highlight/select all the data for all the "TurboCAD Color\Matte..." materials.
>did a Ctrl+C for Copy
>Opened a new instance of Notepad
>Pasted the Copy into the new instance of Notepad
>With my cursor at the very top, used Notepad's "Replace" feature (Match Case activated) to replace all instances of "Matte" to "Car Paint".
>then again with my cursor active at the very top, used Notepad's "Replace" feature (Match Case activated) to replace all instances of "matte" with "car paint".
>Selected All; Ctrl+C for Copy
>Then back in the original "propin.dat" file, in the appropriate location, Pasted all those edited/new Material data
>Deleted that "======================... " marker
>Saved and Exited out of that "propin.dat" file.

Opened TurboCAD, and they are all there-- in the Lightworks Render Manager, under the Category/Sub-Category "TurboCAD Color\Car Paint".  Right-clicked on that new sub-Category and selected "Rebuild Thumbnails for All Category"; waited for it to rebuild; clicked Apply; OK'ed out of Lightworks Render Manager.

Worked like a champ.  All-in-all took less than 10 minutes.

=========
Edit:  Alvin's TurboCAD_Color\Car_Paint .mat file attached, for easy Loading (I think/hope-- from Options\Materials\Load_Materials...)  After download, change extension from .txt to .mat
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Henry Hubich


Steve Edwards

Thanks Alvin,
It would seem I was on the right track, just not quite.


I will digest your post today and have a go later at creating car paint colours.
Thank you for such detailed instructions
I'll report back when done.
Cheers Steve
TurboCAD Platinum 2024
NVIDIA RTX 4000
12th Gen Intel(R) Core(TM) i9-12900K   3.20 GHz
Windows 11 Pro (64)
64 GB RAM
Bambu P1S with AMS

Steve Edwards

Hi Alvin,
Worked like a charm. I'm saving your method (post) for future use. I can see me using it again and again.
Only one thing to point out, TurboCAD Color/Matt should be TurboCAD Color\Matt . That threw me for a while.
Many Thanks
Steve
TurboCAD Platinum 2024
NVIDIA RTX 4000
12th Gen Intel(R) Core(TM) i9-12900K   3.20 GHz
Windows 11 Pro (64)
64 GB RAM
Bambu P1S with AMS

Alvin Gregorio

#5
Thanks Henry!



Quote from: Wwwdotsteve on May 18, 2021, 06:24:53 AM
Hi Alvin,
Worked like a charm. I'm saving your method (post) for future use. I can see me using it again and again.
Only one thing to point out, TurboCAD Color/Matt should be TurboCAD Color\Matt . That threw me for a while.
Many Thanks
Steve

Thanks for pointing out the Slash/Backslash discrepancy Steve.  It's easy to overlook that and type it wrong.  I'll go back and edit my initial post.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Jeff_in_90620

Quote from: Alvin Gregorio on May 17, 2021, 02:10:41 PM
I'll tell you what I just did Steve, successfully.  Others might have a better suggestion/instruction.
___
>I edited the "propin.dat" file, found at C:\Users\alvin\AppData\Roaming\IMSIDesign\TurboCAD 2020\Platinum x64\Materials

>Closed out of TurboCAD 2020 Platinum
>I opened that "propin.dat" file in Notepad
>I used Notepad's "Find" feature to quickly get to the first instance of "TurboCAD Color\Matte..."


Two things:

1) The propin.dat is duplicated.  I can understand having a different version for Designer (it's very different than the other three TurboCAD variants in the distribution), but why put identical versions in ProgramData, Users\All Users and Users\{user name}?

2) The text string "TurboCAD Color\Matte" does not exist in any propin.dat file in any of my TurboCAD installations (and I've got all of them going back to V20).  Even the text string "TurboCAD" by itself is only present in three propin.dat files (versions 21 & 2015).

So... what am I missing?


Jeff
Jeff

TC 2026 Pro Platinum plus 2015->2024 (most with LightWorks & RedSDK) & V21
System: AMD Ryzen 9 7950X, MSI Mag X670E Tomahawk WiFi, 64GB RAM @ 4.80GHz, ARC A770 w/16GB, 3 x Samsung NVMe 990 (1TB), Windows 11 Pro (64-bit)

Steve Edwards

Hi Jeff,
I may be able to shed some light on the situation.
The TurboCAD color\matte text will only exist if you have added it to the propin.dat file. If you see my original post I included the download link as a image containing the download for materials "TurboCAD Color-deluxe.mat" The post is still available and so is the download. Once this is installed you will have a subfolder in your materials pallet that contains all the TurboCAD standard colours in matt plus some others if you chose to upload them(some glass and high gloss). Now when you search the propin.dat file you will "find" the TurboCAD color\matte location in the text (notepad). The first "find" location is the head of the data for all the matte colours.It is a very long list and this is why Alvin suggest inserting a long row of dashes (—————————) so you can find it again.


The Materials are in two or three locations to my knowledge, I have given up wondering why, but the one you want is the one Alvin specifies. I can only speculate these other locations are if you really mess things up and have to reload the default materials, TurboCAD will reload from one of these reserved unadulterated  locations.
TurboCAD Platinum 2024
NVIDIA RTX 4000
12th Gen Intel(R) Core(TM) i9-12900K   3.20 GHz
Windows 11 Pro (64)
64 GB RAM
Bambu P1S with AMS