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.

Layer 0 and its relationship to materials

Started by jackbat, July 01, 2015, 09:18:44 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jackbat

I am sure there is a logical explanation to this, but when I render an object with materials and then turn off layer 0, the materials go to the basic black.

I found this when I used 3d Boolean on objects that had surfaces and got some real screwy results with materials on objects which varied depending on whether or not layer 0 was view-able.

Thanks to Henry's excelent post ( http://forums.turbocad.com/index.php?topic=11730.0 ) I was able to get out of trouble with multiple materials and learned why it happened and how to not do it again.

However I still get a different rendered result depending on whether or not layer 0 is on.

Any Ideas?
Jack
Windows 64 bit
2020 Pro-Platinum

Tim Stewart

#1
Hi Jack,

Briefly, the answer is simple.

Apart from trying to see what might happen (!), there is never any need to turn layer 0 off.
I am sure someone will give a more informed reason as to why this is, but, that's all there is to it!  :)

I hope this helps.

Regards Tim
Regards Tim

You can design without engineering, but you cannot engineer without design.
Windows 10 Pro (19043.1165) 64-bit, TurboCAD Designer 2017-2020 and Pro. Plat. 2018-2020 + LW (64-bit) + AnimationLab 6
Intel i5 2500@3.3GHz 8GB Ram NVIDIA Quadro K2200

jackbat

The old "Doctor it hurts when I do this."
Doctor replies "Then don't do that!"

OK, I get it.  I asked though because since the upgrade to 2015 we have had layer 0 dissapear a couple of times in a drawing and when it happens to me, I have no idea why because I know I am not purposefully deleting it and I don't know what the ramifications would be with layer 0 gone.

Maybe you can just create a new layer called layer 0 and it will do the same thing.  I have no idea.

You did however give me a chuckle with your answer.  It is something I would definitely tell someone else, so it good to have the table turned every now and then.
Jack
Windows 64 bit
2020 Pro-Platinum

Wooddan

Quote from: Tim Stewart on July 01, 2015, 10:37:55 AM
Apart from trying to see what might happen (!), there is never any need to turn layer 0 off.

Regards Tim

In fact now that I think about it, wouldn't it make sense for the programmers to dis-able the ability to turn layer 0 off so users couldn't accidentally do that?

just a thought.

Dan
Deluxe 16.2
Pro Platinum 18.2
Running on HP HDX laptop w/win7 Home Intel Duo Core, 2.53GHz 4GB RAM, 64Bit OS

Henry Hubich

Quote from: Wooddan on July 01, 2015, 11:31:00 AM
Quote from: Tim Stewart on July 01, 2015, 10:37:55 AM
Apart from trying to see what might happen (!), there is never any need to turn layer 0 off.

Regards Tim

In fact now that I think about it, wouldn't it make sense for the programmers to dis-able the ability to turn layer 0 off so users couldn't accidentally do that?

just a thought.

Dan

Sometimes I turn Layer 0 off, but only temporarily and for a specific purpose. I hope the programmers do NOT disable this ability.

Henry H

Wooddan

Interesting.  Never would have guessed there is a purpose.
Deluxe 16.2
Pro Platinum 18.2
Running on HP HDX laptop w/win7 Home Intel Duo Core, 2.53GHz 4GB RAM, 64Bit OS

John R

re: …when I render an object with materials and then turn off layer 0, the materials go to the basic black.

Standard "Lights" are assigned to Layer 0. When you turn off Layer 0, you're also turning off the lights.
John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit

Alvin Gregorio

Expert folks-- What about this part? (quoted below)

Quote from: jackbat on July 01, 2015, 11:13:25 AM
...
OK, I get it.  I asked though because since the upgrade to 2015 we have had layer 0 disappear a couple of times in a drawing and when it happens to me, I have no idea why because I know I am not purposefully deleting it and I don't know what the ramifications would be with layer 0 gone.
...
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)

Torfinn

Ok i'm not an expert:) but I have noticed it Alvin
I did assume that it was because i was insert or extract the House Wisiard .tct to my "normal" template and then make a Layers Filter for this HW layers, then the layer 0 sometimes dissapear from Design Director and Property Bar, it's there, but i cant select it or do anything with it, deleting the newly made HW filter will fix the problem in my case.
To get 0 back i insert or extract the Normal ( Metric ). tct in to my drawing again, but i did stop doing this as i was making Preset's for the HW and dont need the HW layers anymore

Torfinn
V20, V21, 2015 > 2024  Platinum
Deluxe 2015/ 16/ 19
RedSDK enabled
Windows 10 Home Premium (20H2/ 19042.1083) 64 bit, 32 GB
NVIDIA Geforce GTX 780m, 1 GB

John R

re: …disappearing layers

I usually try the "Refresh" in the Design Director or Layers palette if the layer names disappear from it. I'll also check the Layer dropdown on the Property toolbar, as they're usually listed there, while the Design Director could be blank. If both the palette and the toolbar are blank, close the program and restart.

No expert, just beatin' on TC too long.
John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit

jackbat

@john R - I didn't think about refreshing the list.  I will try that next time.  It is unnerving when the layer disappears and I am afraid to save and close becuse I worry that when I reopen layer 0 will be gone for good and I have no idea what the ramifications are if that happens.

I have been trying to think of why layer zero is treated different from other layers but it is.  We drag in blocks and no matter what layer we are on, it drags them into 0.  No idea why there is a need for that, but it is for these kinds of reasons that it freaks me out when it disappears.

Thanks for the heads up on the refresh, I will try that next time.
Jack
Windows 64 bit
2020 Pro-Platinum

John R

TurboCAD has always placed a Block on Layer 0. It can't tell where you want it beforehand.
John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit

Jeff_in_90620

Quote from: John R on July 03, 2015, 10:14:35 AM
TurboCAD has always placed a Block on Layer 0. It can't tell where you want it beforehand.

Time was (and I haven't investigated any possible changes), it was best to place all your components on Layer 0 before turning them into a Block in the first place, but with 2015, I have been dragging Block items onto my drawing in specific Layers, simply by making that Layer active before the drag.


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)

jackbat

John - I'm not sure whey they would treat a block from anything else you are doing.  If you are creating a line or a cube it looks to see what layer is active.  Why would a block be any different.

Jeff - Not sure how you are working your magic.  When I pull in a block it always goes to layer 0 no matter what layer is active. 
Jack
Windows 64 bit
2020 Pro-Platinum

Jeff_in_90620

Hhmmm... went back to the document where I thought I was doing that, but now Blocks are pulling out on Layer 0.

I wonder why I misremembered that.


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)

jackbat

It may be for the same reason I walk into a room and try to remember why I walked in there.
Jack
Windows 64 bit
2020 Pro-Platinum

Tim Stewart

Quote from: jackbat on July 07, 2015, 11:00:27 AM
It may be for the same reason I walk into a room and try to remember why I walked in there.

Welcome to my world!  Errr . . . , I think that's what I was going to say . . . ;)

Regards Tim
Regards Tim

You can design without engineering, but you cannot engineer without design.
Windows 10 Pro (19043.1165) 64-bit, TurboCAD Designer 2017-2020 and Pro. Plat. 2018-2020 + LW (64-bit) + AnimationLab 6
Intel i5 2500@3.3GHz 8GB Ram NVIDIA Quadro K2200