Print at Dec 28, 2025, 7:56:35 AM
Posted by mrol at May 27, 2013, 7:42:13 AM
How to mark area?
I want to to mark various places in 2D plan with polygons of different colors. I think, this idea is the same as room, but I don't understand how to realize this. How to do this?

Best regards
Ilya

Posted by hansmex at May 27, 2013, 9:14:22 AM
Re: How to mark area?
Ilya,

Maybe you should read the User's guide? There's a section on Drawing rooms.

Hans
----------------------------------------
Hans

new website - under constuction
hansdirkse.info

Posted by mrol at May 27, 2013, 9:33:20 AM
Re: How to mark area?
If i will add new room to plan and change it color, it will be displayed at 3d plan, but I want to display polygon only in 2d plan, same as text label.

Sorry for my English and thank you for your answer.

Posted by hansmex at May 27, 2013, 9:57:19 AM
Re: How to mark area?
Ilya,

Try this:
- Go to File --> Preferences
- Activate the radio buttons Top view and also Floor color or texture

Hopefully this gives the result you want.

Hans
----------------------------------------
Hans

new website - under constuction
hansdirkse.info

Posted by mrol at May 27, 2013, 10:03:03 AM
Re: How to mark area?
Unfortunately it is not what I need. Thank you for your help, i will continue my attempts.

Posted by hansmex at May 27, 2013, 10:08:33 AM
Re: How to mark area?
Ilya,

You could use the room tool to draw a "room" (without ceiling) in the shape of a polygon and give it the desired colour. You could then export/import that polygon and use it as a piece of furniture.

You could also search the Sketchup Warehouse for a model that suits you.

Hans
----------------------------------------
Hans

new website - under constuction
hansdirkse.info

Posted by mrol at May 27, 2013, 11:28:45 AM
Re: How to mark area?
It will be require do this work each time when i need to make a mark. I think to add new button near "Create rooms" which call method the same as room creating. My question is how to do an object like room, but without displaying it in 3dview. May be it possible to add some properties to Room class, or write another class, for example MarkArea, but SweetHome 3D is sufficiently large to understand it fully.

Posted by hansmex at May 27, 2013, 12:16:12 PM
Re: How to mark area?
Ilya,

Maybe this solves your problem:
- Draw the desired shape with walls
- Make the walls very thin and very low
- Apply a transparent texture on both sides of the walls (see attached file)

- You can export/import the shape, then use it like any other model.

NOTE
It will show up in the 2D preview.
It will also show up in the 3D preview.
It will show up in low quality render. (setting 1 or 2)
It will NOT show up in high quality render. (setting 3 or 4)

Hans

file: transparent.gif

screenshot: http://www.mediafire.com/view/196vd6sgn1nhfwn/invisible_objects.png

----------------------------------------
Hans

new website - under constuction
hansdirkse.info

Posted by mrol at May 27, 2013, 12:24:01 PM
Re: How to mark area?
Hans, thank you for your help.
Can you explain me what means parameter floorVisible in Room class in model package?

Posted by mrol at May 27, 2013, 12:41:39 PM
Re: How to mark area?
Sorry, i just have found what thid parameter doing. "Sets whether the area of this room is visible or not." in javadoc, it response for label on room.

Posted by Puybaret at May 27, 2013, 4:11:49 PM
Re: How to mark area?
You could use rooms where the floor and the ceiling is not visible (be cautious because the ceiling of a room can be viewed only from bottom in the 3D view).
You could also create a subclass of Room and change or override the method createObject3D in Object3DBranchFactory class to return an empty 3D object for this new class (just use an empty subclass of Object3DBranch).
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by mrol at May 28, 2013, 7:14:21 AM
Re: How to mark area?
Thank you, Emmanuel. I will try this.