Skip to content

Thread: cut a modelled thread on a cone, and carry a screw's thread down onto its point, as on a wood screw #18873

Open

Description

@KyleTryon

What are you trying to do

The Thread command (solid.thread) only accepts a cylindrical face. I model wood screws and self-tapping screws. On these screws, the thread carries on from the shank down the cone of the point. Today I can't get that result. If I pick the cone, the command refuses it with "no cylindrical face there to thread". If I thread the shank, the groove stops at the point or runs one pitch into it. It never follows the point.

SolidCraft already threads a cone for taper pipe threads (NPT, R/Rc), but that code is fixed at a taper of 1 in 16. The kernel's helical sweep already accepts a radius that changes as it turns. That sweep is screw_sweep with a radial law, used through kernel::sweep_helix_radial.

How you imagine it working

  1. Thread a conical face. The face (or faces) point can be on a cone. The groove follows the cone at the cone's own angle. A cone that is almost a cylinder is threaded as a cylinder.
  2. Follow the point. A new option, point: follow, is for modelled external threads. The default, none, keeps today's behaviour. With follow, the thread runs off the end it starts from and down the coaxial cone there, as one continuous groove. The crest is the cone's own surface. The thread keeps its full depth until the core gets thin. Then its depth fades to zero at the tip (point_depth: fade, the default). With point_depth: full, the thread keeps its full depth down to the cone's small end.
  3. Refusals. A clear message refuses each of these:
    • a cone steeper than the thread's flank allows (the message names the largest angle),
    • a cone that is not on the shank's axis,
    • a cone that widens,
    • point: follow on a cosmetic thread,
    • point: follow together with tip.

Acceptance criteria

  • solid.thread with modeled: true on a cone's face cuts a groove. Along the thread, the groove's root stays at a constant depth below the cone.
  • A cylinder that ends in a cone, threaded with point: follow, gets one continuous groove from the shank to the tip. With point_depth: fade, the depth reaches zero at the tip.
  • Each refusal above returns an error that names its cause. No input makes the app crash.
  • Designs saved without the new options rebuild unchanged. There is one pending design-format file.
  • Engine tests check the root radius and the groove volume against values derived by hand. A UI scenario covers the dialog option.
  • The PR shows before and after screenshots of a wood screw.

Pointers

Activity

  1. added
    area:kernel
    needs-triage
    on Nov 18, 2026
  2. raykholo commented on Nov 18, 2026

    @raykholo
    Contributor

    Threading a cone face, and running the groove on down a screw's point, is new: in 0.44.1 the Thread command (solid.thread) has no cone-face or point-following option, and picking a cone gives "no cylindrical face there to thread". This is kernel work (Solidcore), and the request is related to #4735, which asks for an optional taper on Coil so a thread follows a cone.

    For a screw whose shank is only partly threaded, should the groove start at the end of the thread run and then continue onto the point?

  3. KyleTryon commented on Nov 18, 2026

    @KyleTryon
    ContributorAuthor

    /claim

  4. added
    in progress
    on Nov 18, 2026
  5. github-actions commented on Nov 18, 2026

    @github-actions
    Contributor

    Claimed by @KyleTryon. Please open a draft PR referencing #18873 within 72 h; the claim lapses otherwise. /unclaim releases it.

  6. KyleTryon commented on Nov 20, 2026

    @KyleTryon
    ContributorAuthor

    Threading a cone face, and running the groove on down a screw's point, is new: in 0.44.1 the Thread command (solid.thread) has no cone-face or point-following option, and picking a cone gives "no cylindrical face there to thread". This is kernel work (Solidcore), and the request is related to #4735, which asks for an optional taper on Coil so a thread follows a cone.

    For a screw whose shank is only partly threaded, should the groove start at the end of the thread run and then continue onto the point?

    Yes. With Follow point, a partial thread runs along the part of the shank next to the point, then continues down the point in one continuous groove. The rest of the shank stays smooth.

    The [regression test in #18877](https://github.com/KyleTryon/solidcraft/blob/624c5cbd8d5c6573281d0e18879cf8da5e9ab5e4/crates/engine/src/thread_tests.rs#L55) uses a 4 mm shank with a 3 mm thread length. It checks that the groove continues across the shank-to-cone joint and that the remaining 1 mm of shank stays unthreaded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:kernelin progressneeds-triage

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions