Cabinet Heights Calculations Help?


Frenchy1
 Share

Recommended Posts

Hi Chiefs

 

Does anyone know if it is possible to get a cabinet schedule to produce the actual carcass height i.e without toe kick or countertop as this is the measurement used when ordering cabinets on plastic feet. I see you have two height option in the schedule. one for box height which included toe kick and carcass and one full height which included toe kick, carcass and countertop.

 

I realize you could probably draw without a toe kick then use a polyline solid to produce the toe kick to force the size to work but would be great just work from within chief???737217572_Screenshot2024-10-29174515.thumb.png.4880db4ea89bb0a87f933c540f734eeb.png

Link to comment
Share on other sites

Create a custom object information field in your cabinet defaults. Here I called it carcass. Create a new macro  (height-(countertop_thickness+toekick_height). Select the field and place the macro there using the drop down.

FWIW if I were doing this I would set the default box height to what I wanted and set the default height off the floor. An advantage is less likely to forget to order toe kick :) 

 

NOTE- be careful relying on the macro if changing cabinet construction. - IF you just uncheck toe kick the macro will still subtract that amount. To get it to read the macro to read properly you need to set the toe height to 0. Plan attached

image.thumb.png.90901c345ba22f5d7af37f68fb142466.pngimage.thumb.png.b33ddeaa4b71073ac5e71bac655f66ae.png

No toe.zip

  • Upvote 1
Link to comment
Share on other sites

22 hours ago, MarkMc said:

Create a custom object information field in your cabinet defaults. Here I called it carcass. Create a new macro  (height-(countertop_thickness+toekick_height). Select the field and place the macro there using the drop down.

FWIW if I were doing this I would set the default box height to what I wanted and set the default height off the floor. An advantage is less likely to forget to order toe kick :) 

 

NOTE- be careful relying on the macro if changing cabinet construction. - IF you just uncheck toe kick the macro will still subtract that amount. To get it to read the macro to read properly you need to set the toe height to 0. Plan attached

image.thumb.png.90901c345ba22f5d7af37f68fb142466.pngimage.thumb.png.b33ddeaa4b71073ac5e71bac655f66ae.png

No toe.zip 738.94 kB · 1 download

wow thanks i will give it a whirl and thanks for posting a file also

Link to comment
Share on other sites

22 hours ago, MarkMc said:

 

MarcMc. thanks for the info. ill post a super quick video to help others or remind myself. there was a typo in the macro which should read 

 

%height-countertop_thickness-toekick_height%

 

total height 900mm - 40mm countertop - 150mm kicker = 710mm (works a treat). Never really played with macros before but very interesting. 

 

 

Link to comment
Share on other sites

On 10/30/2024 at 6:54 AM, Frenchy1 said:

there was a typo in the macro which should read 

 

%height-countertop_thickness-toekick_height%

IF there was a mistake in the macro the result would not show. The difference is I created a named macro in the Text Macro Management DBX.  Typing there you do NOT use the % signs.

BUT I just saw that the first "(" in my post does not belong, sorry. Still correct in the plan though.

image.thumb.png.09583e1e5711c54e1b8c2c773e40a15d.png

Creating a named macro allows it's use from the drop down, OR using % sign with just the name. as in %carcass_h%. Once you have a named macro you can also export it to a folder and import into a plan for later use.

As macros get more robust/complicated you really want to have them named.

Link to comment
Share on other sites

On 10/30/2024 at 3:54 AM, Frenchy1 said:

MarcMc. thanks for the info. ill post a super quick video to help others or remind myself. there was a typo in the macro which should read 

 

%height-countertop_thickness-toekick_height%

 

total height 900mm - 40mm countertop - 150mm kicker = 710mm (works a treat). Never really played with macros before but very interesting. 

 

 

 

Please keep in mind that this does not check for the presence of a toe kick or countertop so it will report the same dimension regardless of if it has a toe or countertop. 
image.thumb.png.6384b0df2b9ca5dabb95ae5396e969be.png

Link to comment
Share on other sites

# Copyright Rabbitt Design 2024
# This script calculates the final height by conditionally subtracting countertop thickness and toekick height.

# Define the initial variables. These should be publisher variables with types defined as Measurement class objects.
# Assume `height`, `countertop_thickness`, and `toekick_height` are measurements in default units.

# Variables and conditions for the calculation
final_height = height # Start with the initial height

# Check if the countertop should be subtracted based on the presence of countertop or custom countertop
if has_countertop || has_custom_countertop
  final_height -= countertop_thickness # Subtract countertop thickness if has_countertop or has_custom_countertop is true
end

# Check if the toekick should be subtracted based on the presence of toekick
if has_toekick
  final_height -= toekick_height # Subtract toekick height if has_toekick is true
end

# Output the calculated final height
final_height

 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share