* improve KCL Samples & .gitignore * update block and car wheel assembly * update flange and lego, delete flange xy * artifacts Signed-off-by: Jess Frazelle <github@jessfraz.com> * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * scale Signed-off-by: Jess Frazelle <github@jessfraz.com> * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * docs Signed-off-by: Jess Frazelle <github@jessfraz.com> * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> --------- Signed-off-by: Jess Frazelle <github@jessfraz.com> Co-authored-by: Jess Frazelle <github@jessfraz.com>
28 lines
626 B
Plaintext
28 lines
626 B
Plaintext
// Car Wheel Assembly
|
|
// A car wheel assembly with a rotor, tire, and lug nuts.
|
|
|
|
// Set units
|
|
@settings(defaultLengthUnit = in)
|
|
|
|
import 'car-wheel.kcl' as carWheel
|
|
import 'car-rotor.kcl' as carRotor
|
|
import "brake-caliper.kcl" as brakeCaliper
|
|
import 'lug-nut.kcl' as lugNut
|
|
import 'car-tire.kcl' as carTire
|
|
import lugCount from 'globals.kcl'
|
|
|
|
carRotor
|
|
|> translate(translate = [0, 0.5, 0])
|
|
carWheel
|
|
lugNut
|
|
|> patternCircular3d(
|
|
arcDegrees = 360,
|
|
axis = [0, 1, 0],
|
|
center = [0, 0, 0],
|
|
instances = lugCount,
|
|
rotateDuplicates = false
|
|
)
|
|
brakeCaliper
|
|
|> translate(translate = [0, 0.5, 0])
|
|
carTire
|