Bones triangle segments gone
What you call triangle segments are octahedral bones, they are the way bones display by default. You can change the appearance of bones, for example you can switch to rectangular bones: Select the armature, go to the Properties panel > Object Data > Viewport Display > Display as.

But you can also replace a bone by a custom object, meaning whatever shape you want: Switch your armature to Pose mode, select one of your bones, go to the Properties panel > Object > Viewport Display > Custom Object, click on the X if you want to come back to the default octahedral shape.

That said I'm not sure how your armature works...