Beginner's problems designing a fake fingernail

34 views
Skip to first unread message

Phil Kregor

unread,
Oct 14, 2025, 6:03:11 PM (3 days ago) Oct 14
to CadQuery

I am new to 3D and am a classical guitarist with bad fingernails, so I have to use fake nails.  The fake nails that I buy require a lot of trimming, so I want to design a nail that fits my fingers without modification.

I design the nails in 2 ways.  Method 1 uses a 3-point arc to shape the nail and the code is as follows:

import cadquery as cq
result = (cq.Workplane().moveTo(0,8).lineTo(10,8).threePointArc((18,0),(10,-8)).lineTo(0,-8))
result = result.close()
result = result.extrude(0.7) #Nail thickness

which produces the following result:

It looks like a fingernail, but doesn’t curve around the finger.  It’s too flat.

Method 2 uses 2 circles and the code is as follows:

import cadquery as cq

result =(cq.Workplane().circle(4).circle(3).extrude(8).moveTo(4,0).rect(8,8).cutBlind(12))

which produces the following result:

It looks like a fingernail, but I don’t know how to trim the top so that it has the curve of the nail at the end of the finger.

If either of the above ways is close, any comments on how to complete the fingernail would be appreciated.  If I’m totally off base, please suggest another approach.


Thanks 

Jeremy Wright

unread,
Oct 15, 2025, 9:11:56 AM (3 days ago) Oct 15
to Phil Kregor, CadQuery
Your images do not show up for me, but I can guess what you're looking for based on the shape of a fingernail. You might want to look into the Free Function API, specifically this from the Free Function API: https://cadquery.readthedocs.io/en/latest/free-func.html#mapping-onto-parametric-space

That API is still experimental, but notice in the example how the cylinder is used to construct curved shapes. I am thinking that the cylinder would work well as an analogue to a finger and the constructed shapes would be your pick.



--
cadquery home: https://github.com/CadQuery/cadquery
post issues at https://github.com/CadQuery/cadquery/issues
run it at home at : https://github.com/CadQuery/CQ-editor
---
You received this message because you are subscribed to the Google Groups "CadQuery" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cadquery+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/cadquery/d91c140e-8eae-45d0-b766-3a64d489a267n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages