Slide background
Slide background

LRCZ Blog

Just another WordPress.com site

Looks, Looks, Looks

May 12, 2018

A continuation of a previous post – here at Livingroomcraftz we think we have cracked a really tough nut:

Objective: Take a model made up out of some conduits and electrical equipment and create a 2D schematic representation that proportionally is true to the actual model.

Hmm.. take a look at the model:

Noname

The Dynamo script behind it:

Capture.png

And the result:

Noname

Insert a new item into the circuit:

Noname

 

Rerun the script:

Capture

See the difference – now this opens up a wide field of exploration… The key to get positioning sorted was calculating the relative distance as shown here:

Noname

(The evil eye antenna is looking at it’s children – joke..)

More to come – if you are interested in this kind of stuff ping us at this email address.

And life is getting there being good…

Posted in: Uncategorized

Time is on my side…

May 5, 2018

Indeed, we here at Livingroomcraftz have been busy with all sorts of things so – no time for blogging.

Nonetheless – our creep in the cellar posted this.

Interesting work in progress.

Apart of that – box fitting time – how many boxes 1x1x1m can we fit on the property:

Noname

Floor plan:

Noname

Dynamo:

Capture.png

Pull it here.

The result is basically voxels you can count – some fancy UI:

Noname

And the result:

Noname

And life is good…

PS.: if you are patient and play with the box sizes the result becomes mire detailed…

Noname

That’s fun… the theory behind it is here.

Posted in: Uncategorized

A Pattern language

April 1, 2018

We have a scaffolding here:

Noname

We need anchors to fix it at a checkerboard pattern – every second element in a story…

Line this:Noname.png

The Dynamo behind it is like this:

Capture.png

If you are interested – let me know… Dynamo here.

Life is slowly getting better…

Posted in: Uncategorized

Movie times…

March 31, 2018

We put stuff on YouTube:

Place Elements.

Change Parameters in multiple Elements.

Change Parameters in a single row

The piece de resistance – propagate changes..

Propagate change in an assembly..

And finally – a 20 minute Dynamo – just move it all to create a corner – to be demonstrated in more detail

Move elements.

Not too bad for a Saturday afternoon…

And life is (almost) good…

Get some Popcorn…

Posted in: Uncategorized

Win through being cool…

March 31, 2018

Well, sane people enjoy holidays, sane people enjoy weekends, sane people… people with a condition described as morbus dynamoensis do Dynamo at those days.

But the stuff we did today is too cool not to be shared. And – other than usual – we won’t walk you through all the Dynamos – instead we invite you to send a message if you are really interested in how the stuff works.

Let me just show you a little teaser – here is this complex scaffolding assembly – constructed with a Dynamo script.

Noname

Note the line on the top left end of the structure. And remember that all the elements are still single parts.

1

First script will move all parts along the line:

Capture.png

Result:

Noname

And after selecting a single element in the scaffolding:

Noname

All moved. Note the detail:

Noname

As said above – this is just a tease for a variety of scripts to follow. You are interested? Send us a message…

Some more stuff…

From here:

Noname

To here:

Noname

In a single step:

Noname

The Dynamo is here:

Capture.png

More to come the upcoming days. And life is (almost) good…

Posted in: Uncategorized

What’s inside the box?

March 17, 2018

We recently got the following inquiry: there is a model consisting out of walls, beams, columns and floors.

All of the structural elements are made out of concrete.

We want to draw a random box and get the exact amount of concrete for structural elements by category that is within the box. If an element is partially cut by the box, we want it sliced by the box and the part within the box added to it.

Here is the Dynamo that does exactly that:

Capture.png

 

Let’s dissect that:

Noname

Here we get the user input – the box and the category of elements to take into account

Next we got to do a clash detection between the elements collected and – here I need to emphasize how great I find Bimorph Nodes – the performance difference is dramatic.

Noname

Now we check if elements are structural:

Noname

Then we pull the geometry of elements, cut them by the box and pull the volume

Noname

And – to make things snazzy we try to visualize that in Revit and Dynamo:

Noname

In Revit we do that by using the following nodes:

Noname

It honestly does not show too much – that’s why we use the Watch3D node as a proof of our results – here we can see that the elements are cut back by the box:

Noname.png

And life is – getting better…

 

Posted in: Uncategorized

A quick one…

March 4, 2018

Category – 50 seconds Dynamo. It was not the greatest day of days today, lot’s of work and the server decided to do a Windows Update which basically consumed modt of todays productive time.

Nonetheless, jumping into preparations for a new project we started to lay out the grids and lo and behold we wanted to be clean and start with Grid 1 vertically and Grind A horizontally.

At Grid one we got the infamous warning:

Noname

The only problem was – Grid 1 was nowhere to be found in the project. So we had a choice of 2 – searching for half an hour to find the mysterious Grid 1 or building a Dynamo – in 50 seconds.

Capture

Done – Grid 1 is nuked out of the system and the name can now be reassigned. That’s essentially what I like about Dynamo, quick and easy stuff.

Life get’s better…

Posted in: Uncategorized

We still have a long way to go…

March 3, 2018

Another song title – who’s the first to name artist/album will get a present. Nonetheless, let’s get to the issue at hand.

Crunch time, projects coming in, and this week we had two IFC based collaborative ones. Finally real BIM!

The lay of the land is that we need to take these architectural IFCs and develop our structural construction drawings around them.

Number one – a nimble but still challenging project – adding a carport and garage to an existing structure and the IFC we got looks like this at first glance:Capture.PNG

Hmm – not perfect needs a bit of massage to work right but then again good enough to put the structural information in there and produce some sharp looking documents to communicate with construction…

Capture.PNG

Case closed on this one.

Next one looks so sharp in the IFC viewer:

Noname

But then again in Revit – outch – evil error message:

Noname

And the result in Revit

Noname

 

Ground floor is missing – so I call for help and Peter Kompolschek came to the rescue – he found the bug in the IFC file:

Noname

Following the advice I went into the IFC with a text editor and looked at line 2338 to eliminate the extraneous dot – like dot… a dot for xxx’s sake

Noname

And really – after eliminating the extraneous dot we got:

Noname

That is looking better…

But – as the title says – we still have a long way to go to make this happen in a way that is straightforward for everyday BIM users.

Credits to Der Architekt – Peter Kompolschek for debugging this.

And life is – getting better, inch by inch…

Posted in: Uncategorized

Hair of the dog…

February 24, 2018

It has been a while, flu, personal loss, many things but still there is something to share.

Don’t we all love Revit schedules and the fire drill when we need to put them into an Excel for downstream use. Fret no more – there is a simple Dynamo to dump all the schedules in your project to Excel – it looks like this:

Super simple it seems – the key is in the Python script there which looks like this:

This will dump any schedule in your project (Be sure what you wish for…) onto a location of your choice…

Excel Sheets… that’s works for me and life is good…

Posted in: Uncategorized

The joy of using a pressure cooker..

February 9, 2018

I admit – i (sometimes these days) like to cook – and the pressure cooke is a childhood memory…

610Gh2-UW6L._SX355_

So – now there is this project that I am not supposed to talk about but it is a pressure cooker of sorts – only bigger and we need to model a perfect structural model for some interesting analysis.

So our pressure cooker looks like this:

untitled.19

And the challenge was to auto-join all walls to the floor plate above to create a clean analytical model:

Noname.png

And that is a 50 second Dynamo – probably the first one I wrote that worked untested – take a look:

Capture

What we do here – first we select the walls and the floor above in Dynamo. We analyze the categories and filter for walls and floors:

Noname

Then we join using lacing longest:

Noname

Element.JoinGeometry is from the Clockwork package.

If you want to go hardcore and not use custom packages – this is the relatively siple Python behind it:

import clr
clr.AddReference(‘RevitAPI’)
from Autodesk.Revit.DB import *
from System.Collections.Generic import *
clr.AddReference(“RevitServices”)
import RevitServices
from RevitServices.Persistence import DocumentManager
from RevitServices.Transactions import TransactionManager

doc = DocumentManager.Instance.CurrentDBDocument
items1 = UnwrapElement(IN[0])
items2 = UnwrapElement(IN[1])
i = 0
booleans = list()
TransactionManager.Instance.EnsureInTransaction(doc)
for item1 in items1:
    try:
        JoinGeometryUtils.JoinGeometry(doc,item1,items2[i])
        booleans.append(True)
    except:
        booleans.append(False)
    i += 1

Posted in: Uncategorized