YouTube2Text

Creating an ADJUSTABLE SHELF in SketchUp with Dynamic Components — Transcript

by TheSketchUpEssentials · 2,607 words · 380 segments · language en · Watch on YouTube

Full transcript

  1. 0:00what's up guys justin here with the
  2. 0:03sketchup essentials.com back with
  3. 0:04another sketchup dynamic components
  4. 0:06tutorial for you so last week we kicked
  5. 0:09off a series on dynamic components and i
  6. 0:10talked through the basics so in today's
  7. 0:12video we're going to create a practical
  8. 0:14example by creating a dynamic shelf in
  9. 0:16sketchup today's video is brought to you
  10. 0:18by the sketch essentials course the
  11. 0:20sketch potentials course is my course
  12. 0:21that i created to give you a start to
  13. 0:23finish training in sketchup so it's got
  14. 0:26over 14 hours of instruction as well as
  15. 0:29we have a community forum where you can
  16. 0:31come to get your questions answered and
  17. 0:33we get together every two weeks on live
  18. 0:35calls to talk about sketchup so if you
  19. 0:37have any questions you can ask them
  20. 0:38there as well so if that's something
  21. 0:40you're interested in you want to come
  22. 0:41hang out with me on some live calls or
  23. 0:43just check out the sketchup training
  24. 0:44library make sure you check that out at
  25. 0:46the sketchup essentials dot com slash
  26. 0:48course now let's go ahead and just jump
  27. 0:49into it all right so what we want to do
  28. 0:51in this situation let's create something
  29. 0:52simple like a shelf and so if you think
  30. 0:55about a shelf basically it's made up of
  31. 0:57a couple different components right it's
  32. 0:59made up of a couple sides as well as a
  33. 1:02top and then however many shelves you
  34. 1:05have
  35. 1:06down below there may be some trim pieces
  36. 1:07and stuff but we're going to keep this
  37. 1:09really simple for right now we may add a
  38. 1:10back as well but what we want to do is
  39. 1:13we want to start by modeling those out
  40. 1:15and i'm just going to create a very
  41. 1:16simple shelf so maybe something that's
  42. 1:19like 24 inches long
  43. 1:21and we'll say that it's going to be
  44. 1:23we'll call it four feet high
  45. 1:26so i'm just drawing a rectangle that's
  46. 1:28going to make up a side for right now
  47. 1:30then i'm just going to push pull this
  48. 1:31and we're going to say this is maybe
  49. 1:33like .75 so three quarters of an inch
  50. 1:36thick
  51. 1:39and so that's going to act as our side
  52. 1:40for our shelf right so the first thing
  53. 1:42we're going to do is we're going to
  54. 1:43select this whole thing right click and
  55. 1:45we're going to make that a component and
  56. 1:47i'm going to go ahead and call this the
  57. 1:48left
  58. 1:50side
  59. 1:52right here
  60. 1:54and so now
  61. 1:55what we want to do is we want to add the
  62. 1:58shelves and the top
  63. 2:00and in this case we're going to make
  64. 2:02those be the same thing so let's start
  65. 2:04just by adding a shelf so let's say this
  66. 2:06shelf is going to be maybe like four
  67. 2:08inches off the ground
  68. 2:09let's start with it being maybe like
  69. 2:12we'll say 36 inches wide for right now
  70. 2:15so i'm just going to draw a rectangle
  71. 2:17that's going to be the size that we want
  72. 2:19all right so we'll just delete out this
  73. 2:20extra line we'll push pull this up
  74. 2:23maybe 0.75 again and then we'll just
  75. 2:25make this a component and we're just
  76. 2:27going to call this
  77. 2:28shelf
  78. 2:30i'm going to hit the enter key and so
  79. 2:32then we can use the move tool in copy
  80. 2:33mode to create a couple different copies
  81. 2:35of this so for me right now i'm going to
  82. 2:37make a copy it goes up to the top then
  83. 2:40type in
  84. 2:41forward slash and a 3
  85. 2:43so that now we have 4 copies total so i
  86. 2:46just use the move tool in copy mode in
  87. 2:48order to do that and then let's go ahead
  88. 2:50and let's take this side piece
  89. 2:52and let's use the move tool and copy
  90. 2:54mode to copy this over and one thing i'm
  91. 2:56going to do because i don't want two
  92. 2:58left side pieces remember i labeled
  93. 3:00these left side i'm going to go ahead
  94. 3:05and i'm going to make this unique i'm
  95. 3:07going to call this one right
  96. 3:09side so now we have one two three four
  97. 3:13five six components in our model well we
  98. 3:15want to take all of those and we want to
  99. 3:17combine them into a single component so
  100. 3:20i'm just going to right click in here
  101. 3:21i'm going to click on make component and
  102. 3:23we'll call this
  103. 3:25shelving unit
  104. 3:27and i'm going to hit the enter key so
  105. 3:28now this is a component that can
  106. 3:31contains all of those parts and pieces
  107. 3:33well now what we want to do is we want
  108. 3:34to right click in here and we want to go
  109. 3:36down to the dynamic components
  110. 3:38functionality and we want to edit the
  111. 3:40component attributes so when we do this
  112. 3:43remember that nested components inside
  113. 3:45of an object show up down below
  114. 3:48right here so notice how we've got our
  115. 3:50four shelves we've got our left side and
  116. 3:53our right side and so if i was to double
  117. 3:55click in here and just click on this
  118. 3:57notice how i would see just the right
  119. 3:59side right here but now what we need to
  120. 4:02do is we need to adjust these so that
  121. 4:04our shelving width adjusts based on a
  122. 4:07width that our user gives us and in this
  123. 4:09case we're just going to use drop downs
  124. 4:12so the first thing we need to do is we
  125. 4:14need to provide the user a drop down
  126. 4:16where they can enter the value and so to
  127. 4:18do that we're going to go into the
  128. 4:19attribute name and we're just going to
  129. 4:21type in a custom name so in this case
  130. 4:23i'm going to type in a value of width
  131. 4:26right here
  132. 4:27and so width is going to be the value
  133. 4:29that our user is going to give us for
  134. 4:30the width of our cabinet so in this case
  135. 4:33what we want to do is we don't want to
  136. 4:35set this as a value instead we want to
  137. 4:37click on this button right here for
  138. 4:38details and we want to set this so that
  139. 4:41our users can select options from a list
  140. 4:44so we're just going to click on this
  141. 4:45button right here
  142. 4:47and then we just want to give them some
  143. 4:48options so in this case let's give an
  144. 4:51option for 18
  145. 4:52inches
  146. 4:54we'll add an option for
  147. 4:5624 inches
  148. 4:58we'll add a 36 inches
  149. 5:02and we'll add a 48 inches
  150. 5:05so now we have four options that they
  151. 5:08can select from a list and we're going
  152. 5:10to click on apply well now if they were
  153. 5:12to right click in here in our dynamic
  154. 5:13components and click on component
  155. 5:15options notice how they're going to have
  156. 5:17a drop down with these options in here
  157. 5:20but
  158. 5:21notice how in addition our options
  159. 5:23aren't doing anything right now so we
  160. 5:25have the option where they can give us
  161. 5:27the information that we need now what we
  162. 5:29want to do is we want to set up the math
  163. 5:31functions inside of here that are going
  164. 5:33to make our shelf adjust
  165. 5:35and so what we want to do is we want to
  166. 5:37set the width of our shelving pieces to
  167. 5:40the value that our user selects so in
  168. 5:43this case we're just going to click on
  169. 5:45the drop down for shelf
  170. 5:46and we're just going to
  171. 5:49add an attribute for
  172. 5:51length on the x-axis so len x
  173. 5:55so if we do this
  174. 5:56what that's going to do is that's going
  175. 5:57to set the length of our object along
  176. 6:00that x-axis and so instead of having a
  177. 6:04hard type value in here what we want to
  178. 6:06do is we want to link this value
  179. 6:09to this value and we can do that by
  180. 6:11doing equals and then
  181. 6:14clicking
  182. 6:15on this cell right here notice what this
  183. 6:17does is this links back to this value
  184. 6:20with a variable so instead of this being
  185. 6:22a hard type number it's going to adjust
  186. 6:25based on what's typed in here so if i
  187. 6:27hit the enter key now
  188. 6:29notice how all of the shelves are
  189. 6:32adjusting
  190. 6:33to match that width that we had set so
  191. 6:36if we go into our dynamic components and
  192. 6:38click on component options notice how
  193. 6:40now the width is going to equal
  194. 6:43whatever we have
  195. 6:45in here from a width standpoint
  196. 6:47right so notice how those shelf pieces
  197. 6:49are getting wider or narrower based on
  198. 6:51what's selected however
  199. 6:54now we need to come in here and we need
  200. 6:55to set this up so that this piece right
  201. 6:58here adjusts along with this because
  202. 7:00it's in the wrong position
  203. 7:02when we adjust our width and so this is
  204. 7:04part of why i made this a unique
  205. 7:06component what we want to do and i do
  206. 7:08want to know because these are all
  207. 7:10instances of the same component these
  208. 7:12shelf objects if i was to double click
  209. 7:14in here notice how all of them got this
  210. 7:16equal shelving unit width applied to it
  211. 7:19that's why this happened to all of them
  212. 7:21and not just one if these weren't copies
  213. 7:23of the same component then you would
  214. 7:25have to come in here and you'd have to
  215. 7:26do that over and over again but what we
  216. 7:28want to do now is we want to adjust our
  217. 7:30right side so that it aligns with our
  218. 7:34shelving whenever it adjusts and so the
  219. 7:36way that we can do that is we can come
  220. 7:38in here and we can add
  221. 7:40a position attribute the position
  222. 7:43attribute is going to select the
  223. 7:45location of this object along the left
  224. 7:47the x y or z axis well in this case we
  225. 7:50want the x axis right here
  226. 7:53and so
  227. 7:55now we've set this so that our x-axis
  228. 7:58location has a value in it but we want
  229. 8:01to do the same thing we did before where
  230. 8:03we want to do an equals we want to click
  231. 8:05on the width right here then i'm going
  232. 8:07to hit the enter key well now when we
  233. 8:10adjust this
  234. 8:11notice how the location on the x-axis
  235. 8:15is adjusting
  236. 8:16based on the location or the width of
  237. 8:19our shelf so now this is moving along
  238. 8:22with this but you may notice we've got a
  239. 8:24little bit of an issue because this is
  240. 8:26only moving
  241. 8:27this width which is basically the width
  242. 8:29of this entire shelf well the problem is
  243. 8:32this also has some thickness and so what
  244. 8:35that means is that means that this needs
  245. 8:37to move over an additional three
  246. 8:39quarters of an inch
  247. 8:40to be aligned with the end of our shelf
  248. 8:43so in order to do that we're just going
  249. 8:44to go back into our right side and we're
  250. 8:46just going to add
  251. 8:48plus 0.75
  252. 8:50and hit the enter key well now what this
  253. 8:53is going to do is whenever we select a
  254. 8:55width this is going to move the object
  255. 8:57that width plus an additional three
  256. 9:00quarters of an inch so now when i do
  257. 9:02this notice how the side of our shelf
  258. 9:06is adjusting along with the width of our
  259. 9:08shelf we can use this in order to really
  260. 9:10quickly adjust the width of our shelving
  261. 9:12unit and so now one other thing is
  262. 9:15remember how we talked about we might
  263. 9:16want a back on this shelf well we didn't
  264. 9:19initially have a back on the shelf but
  265. 9:22what we can do is we can add
  266. 9:24another component in here that can be
  267. 9:26the width of our shelf so all i'm going
  268. 9:29to do is i'm just going to come in here
  269. 9:31and notice i've double clicked in here
  270. 9:32and these are still individual
  271. 9:34components well i just want to draw
  272. 9:37on the back of this
  273. 9:39a shelf or a back and i just want to
  274. 9:41give it a thickness of 0.75
  275. 9:45and then
  276. 9:46i'm going to triple click on it i'm
  277. 9:47going to right click and i'm going to
  278. 9:48make it a component and we're going to
  279. 9:50call this the back
  280. 9:52so now if i click on create
  281. 9:54we have a back
  282. 9:56in here
  283. 9:57as well
  284. 9:58and so one other thing we need to do
  285. 9:59though is we need to make sure that we
  286. 10:01set the back up so that it adjusts along
  287. 10:04with the rest of our object
  288. 10:06so all we need to do with our back is
  289. 10:08just do the same thing where we set our
  290. 10:10length on the x-axis
  291. 10:12to
  292. 10:14equals
  293. 10:15width
  294. 10:17and hit the enter key
  295. 10:18now
  296. 10:20that back piece
  297. 10:21is going to adjust
  298. 10:23based on the width that we give this
  299. 10:25object
  300. 10:26and so now that we know how to do this
  301. 10:27there's a lot of interesting things we
  302. 10:29could do here like for example we've got
  303. 10:32this setup where we can set the width of
  304. 10:34our shelf well there's nothing saying we
  305. 10:36can't also set the depth
  306. 10:39of our shelf
  307. 10:40so the depth we want to make another
  308. 10:42user drop down
  309. 10:44right so in this case let's say that we
  310. 10:46give options for 12 inches
  311. 10:5118 inches
  312. 10:53and 24 inches
  313. 10:55we're going to click the apply button
  314. 10:57right here now notice how we have a drop
  315. 10:59down that allows us to set those three
  316. 11:01values well then all we have to do is
  317. 11:04just set these objects so that they have
  318. 11:06a length on the y instead of the x of
  319. 11:09that value so we would just come into
  320. 11:11our shelf and we would set our length y
  321. 11:14and we would say
  322. 11:15equals
  323. 11:17our depth
  324. 11:19right here
  325. 11:22we need to do the same thing with our
  326. 11:24right side shelf
  327. 11:26so
  328. 11:26length y
  329. 11:30equals
  330. 11:31our depth
  331. 11:33and
  332. 11:34we need to set our left side shelf so
  333. 11:37that it does the length y so we're going
  334. 11:39to do an equals oops
  335. 11:42depth
  336. 11:43right here so notice how all of those
  337. 11:45are adjusting all we have to do now is
  338. 11:47set the back of the object so that it
  339. 11:50does the same thing that we did with our
  340. 11:51width right it just needs to move along
  341. 11:53with this so for our back all we want to
  342. 11:56do is we want to adjust our position on
  343. 11:58the y axis so we're going to click right
  344. 12:00here and then we're just going to do an
  345. 12:02equals
  346. 12:04and we're going to set
  347. 12:06our depth to 12.
  348. 12:09hit the enter key so now if we adjust
  349. 12:11our depth
  350. 12:13notice how this is going to move along
  351. 12:15with our object so now we've got a shelf
  352. 12:17where we can come in here and we can
  353. 12:18adjust the width
  354. 12:20and we can adjust the depth really
  355. 12:22quickly one other thing to note is i did
  356. 12:23notice that we've got a little bit of a
  357. 12:25gap here that's because our width isn't
  358. 12:28incorporating the side pieces on the
  359. 12:29back so all you would do is you would
  360. 12:31just say plus
  361. 12:330.75
  362. 12:34times 2 for your length and then hit the
  363. 12:36enter key so that's just adding in the
  364. 12:39width of these panels so one and then
  365. 12:42the other one right here so now your
  366. 12:44dynamic shelf is something that you can
  367. 12:46adjust really quickly inside of sketchup
  368. 12:50all right so that's for me in this video
  369. 12:51leave a comment below let me know what
  370. 12:52kind of dynamic components you'd like to
  371. 12:54learn to create in the future if you are
  372. 12:56interested in going more in depth in
  373. 12:58sketchup make sure you check out my
  374. 12:59course at sketchup essentials dot com
  375. 13:01slash course i'd love to help you learn
  376. 13:03sketchup more in depth but as always
  377. 13:06thank you so much for taking the time to
  378. 13:07watch this i really appreciate it and i
  379. 13:09will catch you in the next video thanks
  380. 13:11guys

About this transcript

This page contains the full transcript of Creating an ADJUSTABLE SHELF in SketchUp with Dynamic Components by TheSketchUpEssentials, generated from the public captions YouTube serves with the video. The transcript has 2,607 words across 380 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.

What you can do with it

Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to translate the transcript into 100+ languages.

Free YouTube transcript tool

YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, translation to 100+ languages, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.