-
Notifications
You must be signed in to change notification settings - Fork 103
Open
Labels
Description
Describe the bug
I do not understand what is malformed about this file from our dog-house-great-dane sample that makes it so that I can't sketch on its end cap.
// Dog House (Great Dane) - Dog Bone Sign
// Parametric bone sign profile, extruded and wood-colored.
// Define units
@settings(experimentalFeatures = allow, defaultLengthUnit = in)
// Import and declare parameters
import * from "2x4.kcl"
// Bone profile parameters (adjusted for a thicker center bar)
boneHalfWidth = 6.06
boneNeckTopX = -3.31
boneNeckBottomX = -3.07
boneNeckTopZ = 3.6
boneNeckBottomZ = -0.6
boneTopLobeInterior = [-4.95, 5.08]
boneTopLobeEnd = [-6.06, 1.13]
boneBottomLobeInterior = [-5.04, -2.99]
boneBottomLobeEnd = [boneNeckBottomX, boneNeckBottomZ]
export signThickness = 0.75
export signWidth = boneHalfWidth * 2
export signHeight = boneTopLobeInterior[1] - boneBottomLobeInterior[1]
boneBottomOffsetZ = -boneBottomLobeInterior[1]
boneSketch = startSketchOn(XZ)
boneProfile = startProfile(boneSketch, at = [0, boneNeckTopZ])
|> xLine(length = boneNeckTopX)
|> arc(interiorAbsolute = boneTopLobeInterior, endAbsolute = boneTopLobeEnd)
|> arc(interiorAbsolute = boneBottomLobeInterior, endAbsolute = boneBottomLobeEnd)
|> xLine(length = -boneBottomLobeEnd[0])
|> mirror2d(axis = Y)
|> close()
dogBoneSign = boneProfile
|> extrude(length = signThickness)
|> appearance(color = woodColor, roughness = woodRoughness, metalness = woodMetalness)
|> translate(z = boneBottomOffsetZ)
[dogBoneSign]
sketch001 = startSketchOn(dogBoneSign, face = END)
I get this error when attempting to select the end cap:
Error: Invalid artifact type for offset sketch plane selection: cap
at getOffsetSketchPlaneData (index-D6X5hg9b.js:81017:61)
at selectOffsetSketchPlane (index-D6X5hg9b.js:81058:47)
at selectSketchPlane (index-D6X5hg9b.js:238587:55)
at St.subscribeTo.callback (index-D6X5hg9b.js:238554:9)
at index-D6X5hg9b.js:88979:76
at Array.forEach (<anonymous>)
at index-D6X5hg9b.js:88979:60
at WebSocket.Ot (index-D6X5hg9b.js:88327:7)
Steps to Reproduce
- Use the provided KCL
- Click Start sketch in the toolbar
- Select and end cap of the dog bone shape
- Note how you cannot draw lines, etc
Expected Behavior
Normal sketch on face behavior working
Screenshots and Recordings
No response
Desktop OS
MacOS
Browser
Arc
Version
v1.1.16 (browser)
Additional Context
No response
Reactions are currently unavailable