Skip to content

About

Turn any spline into barbed wire in Cinema 4D 2027: one live generator with twisted strands, coiled barbs and style presets.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Barbed Wire for Cinema 4D

Barbed Wire, Classic style

Barbed Wire turns any spline into barbed wire: twisted line strands with coiled 2 or 4 point barbs and needle tips. It is a single object with no rig, and it stays live, so you can edit the spline, animate any control, or press C to make it editable. It draws on along the spline (Grow), has one-click style presets, and gives you Strands and Barbs polygon selections for materials.

Barbed Wire demo

Requirements

  • Cinema 4D 2027 (Python 3.11 or newer, no extra packages)
  • Windows

Built and tested on Cinema 4D 2027 only. Other versions have not been tested.

Install

  1. Download and unzip the release.
  2. Put the BarbedWire folder in Cinema 4D's plugins folder, or choose Edit > Preferences > Plugins > Add Folder and pick the BarbedWire folder.
  3. Restart Cinema 4D.

Where to find it

Extensions > Barbed Wire, or type "Barbed Wire" in the Commander (Shift+C).

Use

  • Select a spline first and the new object follows it straight away through the Spline link.
  • Or drop a spline under it, as you would with a Sweep. The link wins if both are set.
  • With no spline at all, it shows a 2 m straight demo wire.
  • Any spline works: editable splines, primitives, Text, MoSpline, open or closed, and multi-segment splines (each segment becomes its own wire).
  • For materials, the mesh carries Strands and Barbs polygon selections, so put a texture tag on the generator and type Strands or Barbs in its Selection field. You can also turn on Separate Strands and Barbs to get two objects instead.
  • examples/BarbedWire_demo.c4d has one wire on an S-curve with a chrome material.

Style presets

Controls

Tab Control What it does
Object Spline Spline to follow (optional if one is a child)
Style One-click looks: Classic 4-Point, Two Point, Farm Fence, Hero Chrome, Chunky. Picking one sets the Wire, Barbs and Quality values, which you can then tweak
Scale Scales every size at once, keeping proportions
Grow Draw-on, 0 to 100 % along the spline. Barbs pop in once the wire has passed them
Grow From End Draws on from the other end
Barb Pop Distance / Overshoot How far past a barb the wire travels while it pops in, and how much it overshoots
Barb Slide Moves the barbs along the wire (animate it to make them crawl)
Wire Strands 1 to 8 twisted strands (2 is classic)
Strand Radius, Strand Gap Strand thickness, and how far apart the strands sit (negative values press them together)
Twist Length / Direction / Offset Distance per full twist, which way it twists, and where it starts
End Caps Flat cut ends on open splines
Kinks / Kink Spacing Random bends, like wire that has been handled
Barbs Barb Style Star: a ring coil with straight cone spikes, like the chrome reference. Wire Ends: the barb wire's own ends bend out as spikes, like real fencing
Points 4 point star (classic) or 2 point
Spacing / Variation Distance between barbs, and how much it varies randomly
Barb Wire Radius Barb wire thickness
Coil Wraps Visible wraps in each coil. Half a wrap is added for you so the spikes spread evenly
Coil Tightness 0 gives a round coil. 100 hugs the strand pair as an oval
Coil Gap Extra room between the coil and the strands (a chunkier coil)
Spike Length / Variation Spike length, and how much it varies randomly
Spike Thickness Star spikes' base thickness, relative to the barb wire
Needle Taper How much of each spike tapers to the point
Spike Lean / Curl Tilt along the wire, and sweep around it
Rotation / Variation / Seed Barb orientation and randomness
Quality Sides, Segments Mesh density for strands, coils and spikes
UVs, Smoothing Angle Output UVs (U goes around, V runs along) and the phong angle

Every size is in scene units, multiplied by Scale. The defaults are about 4x real barbed wire, so a spline a few metres long looks right without any changes.

Licence

MIT, see LICENSE.

About

Turn any spline into barbed wire in Cinema 4D 2027: one live generator with twisted strands, coiled barbs and style presets.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages