Go Back   AC3D Forums > Resources > AC3D Tutorials and How-To's
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 30th November 2006, 08:47 PM   #1
AndyH
Member
Advanced member
 
Join Date: Oct 2004
Posts: 34
Default Non-polygon surfaces (lines and polylines) question

Hi

How do I remove lines / polylines from an object?

I'm getting an error message saying "Boolean: non polygon surfaces detected (lines or polylines). Both objects must be made from polygons only." when I use the boolean operations on a couple of objects.
__________________
ovine by design
Visit us for retro freeware games
AndyH is offline   Reply With Quote
Old 1st December 2006, 11:13 AM   #2
Stiglr
Senior Member
Professional user
 
Stiglr's Avatar
 
Join Date: Feb 2004
Location: Portland, OR
Posts: 604
Default Re: Non-polygon surfaces (lines and polylines) question

Are you perhaps trying to Boolean a poly line object or something like that?

I think the rule is that both objects involved in a Boolean operation need to be composed of polygons (cylinders, boxes, spheres, etc.)

If it's a poly shape you're using for one of the operands, perhaps try selecting the vertices of your shape and making a convex hull object or Ordered Surface object out of it, then involving it in a Boolean operation.

Just kind of guessing from your description here...
__________________
Flight Sim Project Contributor

My Gaming Rig:
i5 2500K Quad-Core CPU at 3.3GHz
MSI P67A-C43 mobo
4GB of PC12800 DDR3 memory
Windows 7
1GB Galaxy GeForce GTX550 Ti video card GeForce 270.61 drivers (4/2011)
Cougar joystick/throttle combo
CH Pedals
Stiglr is offline   Reply With Quote
Old 1st December 2006, 11:30 AM   #3
AndyH
Member
Advanced member
 
Join Date: Oct 2004
Posts: 34
Default Re: Non-polygon surfaces (lines and polylines) question

Quote:
Originally Posted by Stiglr View Post
Are you perhaps trying to Boolean a poly line object or something like that?

I think the rule is that both objects involved in a Boolean operation need to be composed of polygons (cylinders, boxes, spheres, etc.)

If it's a poly shape you're using for one of the operands, perhaps try selecting the vertices of your shape and making a convex hull object or Ordered Surface object out of it, then involving it in a Boolean operation.

Just kind of guessing from your description here...

Sorry, I shoul dhave been more specific. I have used a line / polyline to extrude an object (rotation or via the extrude tool) and I am left with a polygon object. I can triangulate its surfaces (or not) but I get this error when I try to do the boolean operation.

In my newly extruded polygon object, I can see a white line where the poly line was but I can't seem to remove it from the object. I suspect it is this that is the problem.
__________________
ovine by design
Visit us for retro freeware games
AndyH is offline   Reply With Quote
Old 1st December 2006, 12:06 PM   #4
Stiglr
Senior Member
Professional user
 
Stiglr's Avatar
 
Join Date: Feb 2004
Location: Portland, OR
Posts: 604
Default Re: Non-polygon surfaces (lines and polylines) question

I understand now.

I've had that problem, too, with poly lines leaving extra vertices (and a telltale white line) after you've changed the poly into a 3D object.

Not sure if this will be the answer, but check and see if there are any double vertices along the line you drew the original poly line, or even if the poly itself is an additional object from the extruded object (isolate the object from the poly using Hide Unselected commands, etc.). Try to Merge them, or failing that, weld together any overlapping double vertices; in effect, make the poly line and the object you extruded from it ONE object with no double vertices. Maybe then the Boolean will work on it.
__________________
Flight Sim Project Contributor

My Gaming Rig:
i5 2500K Quad-Core CPU at 3.3GHz
MSI P67A-C43 mobo
4GB of PC12800 DDR3 memory
Windows 7
1GB Galaxy GeForce GTX550 Ti video card GeForce 270.61 drivers (4/2011)
Cougar joystick/throttle combo
CH Pedals
Stiglr is offline   Reply With Quote
Old 2nd December 2006, 07:54 PM   #5
luuckyy
Senior Member
Professional user
 
luuckyy's Avatar
 
Join Date: Jul 2005
Location: France
Posts: 737
Default Re: Non-polygon surfaces (lines and polylines) question

Quote:
Originally Posted by AndyH View Post
How do I remove lines / polylines from an object?
If your object is the result of a polyline/line edge(s) extrusion then just selecting your object and then clicking on "poly" ("set surface type" panel) will be enough.
__________________
OL.

Last edited by luuckyy; 3rd December 2006 at 06:03 AM.
luuckyy is offline   Reply With Quote
Old 2nd December 2006, 08:45 PM   #6
AndyH
Member
Advanced member
 
Join Date: Oct 2004
Posts: 34
Default Re: Non-polygon surfaces (lines and polylines) question

Doh - so simple.... thank you.
__________________
ovine by design
Visit us for retro freeware games
AndyH is offline   Reply With Quote
Old 2nd December 2006, 10:28 PM   #7
Dennis
Senior Member
Professional user
 
Dennis's Avatar
 
Join Date: Jul 2003
Posts: 899
Default Re: Non-polygon surfaces (lines and polylines) question

luuckyy's tip works great --- although it *would* be nice to get a "select lines/polylines" under "Edit -> Select surfaces" --- I'm usually more interested in removing such surfaces than converting them...

If no plans are in the works for this, I could probably drum up a plugin in the near future.
Dennis is offline   Reply With Quote
Old 9th December 2006, 12:37 PM   #8
Stiglr
Senior Member
Professional user
 
Stiglr's Avatar
 
Join Date: Feb 2004
Location: Portland, OR
Posts: 604
Default Re: Non-polygon surfaces (lines and polylines) question

Excellent idea, Dennis... or perhaps work with Andy to just get it put into the code as a standard menu selection. Shouldn't need a "special plug in" for this: it's just good functionality.
__________________
Flight Sim Project Contributor

My Gaming Rig:
i5 2500K Quad-Core CPU at 3.3GHz
MSI P67A-C43 mobo
4GB of PC12800 DDR3 memory
Windows 7
1GB Galaxy GeForce GTX550 Ti video card GeForce 270.61 drivers (4/2011)
Cougar joystick/throttle combo
CH Pedals
Stiglr is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -4. The time now is 04:40 AM.


AC3D Forum
(C) Inivis Limited 2020