How to i angle stuff with cframe like archimedes

i want to make a plugin and part of it i need to be able to angle stuff like this:


but i dont know where to start

local NewCFrame = CFrame.new(Position) * CFrame.Angle(-30, 0, 0)

how does that show anything i know how to angle parts but i need to know how to angle a part off itself the way archimedes does

Using a script or the built build mode.

no offense but i clearly stated in the title and description of what im trying to do and you dont seem to understand

Oh I don’t really read the description, just the title.

You could try learning about trigonometry see if that can help you

local Part1 = workspace.Part1
local Part2 = workspace.Part2

local Origin = Part1.Position

local Front = Origin + Vector3.new(0, 0, Part1.Size.Z / 2)
local Size = Part2.Size

local Radius = (Size.Z / 2)
local Radians = math.rad(180 + 30)
local X = Radius * math.cos(Radians)
local Y = Radius * math.sin(Radians)

Part2.CFrame = CFrame.new(Front + Vector3.new(0, Y, -X), Front)