Separating a clause introduced with "such that" by commas [closed]

Consider the following sentence:

A whatsit such that the condition doodah is fulfilled is called a doodah whatsit.

I am wondering about the placement of commata. Should I add two commata to separate the "such that"-clause?

A whatsit, such that the condition doodah is fulfilled, is called a doodah whatsit.

What somehow justifies this is that we can rearrange the sentence to read:

A whatsit is called a doodah whatsit, if the condition doodah is fulfilled.

Suggesting that we have two clauses that should be separated by a comma. But putting a comma before "such that" as in the second sentence looks strange to me.

So, would you place a comma or not? Or is it optional? Or maybe just a single comma before "is"?


This is a restrictive clause and as such does not get commas.

Your case with the if-clause is a different grammatical structure because the clause does not directly modify the subject.