Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- Be respectful, on topic and if you see a problem, Flag it.
If you would like to contact our Community Manager personally, feel free to send a private message or an email.
Pattern with individually configurable parts?
joka
Member Posts: 9 PRO
Dear forum
Is there a way to configure the individual parts of a pattern individually?
I want to create a LED matrix with different signs as a configuration. Unfortunately it looks like I need to insert each of the 512 LEDS as a individual part to be able to change some of the colours with the configurations.
Any ideas?
Is there a way to configure the individual parts of a pattern individually?
I want to create a LED matrix with different signs as a configuration. Unfortunately it looks like I need to insert each of the 512 LEDS as a individual part to be able to change some of the colours with the configurations.
Any ideas?
Tagged:
0
Answers
https://cad.onshape.com/documents/e483a00c302adb070cb6e9c2/w/6c0e73d6e9071e9b9fc36b97/e/eb0d2054bc4ccc59335a5d4b?configuration=color%3D100.0
How to add a custom feature to your tool bar
Learn more about the Gospel of Christ ( Here )
CADSharp - We make custom features and integrated Onshape apps! cadsharp.com/featurescripts 💎
Are you trying to do it in an assembly or part studio (or do you not care)? Either way, Michael's solution is awesome. If you don't mind it being more manual to pick the ones you want to change, you could do it with multiple Part Color features that you just suppress as needed. I also made the whole array into a composite part so I could insert it into an assembly without it being too cumbersome.
https://cad.onshape.com/documents/ab2fd925857cea22dac90764/w/091bc45d1236c3446a753911/e/bed83281ca6b28fe4ee1b960
Thank you very much, @MichaelPascoe and @Evan_Reese.
While I am impressed by your know-how and the elegance of your solutions, I do need something that makes it easier / faster to input a sign configuration with different colours from the drawing paper into the model.
In the end I ended up assembling manually a 16 x 16 array of LEDs and configured the output of an excel file to match Onshape's configuration table. The Excel-file can be configured by typing the colours letters into the grid.
The Excel-File. With an additional part in it the code for the programming of the displays is created in one go:
And the displays in the model. Yes, the smiley are a placeholder for the different client logos to come:
Learn more about the Gospel of Christ ( Here )
CADSharp - We make custom features and integrated Onshape apps! cadsharp.com/featurescripts 💎
@MichaelPascoe
@alnis, is it possible to have a feature get the url of the tab that it is used in? That way the user wouldn't have to manually paste the address in.
Learn more about the Gospel of Christ ( Here )
CADSharp - We make custom features and integrated Onshape apps! cadsharp.com/featurescripts 💎
@alnis is my personal account. @alnis_ptc is my official PTC account.
It also looks like the order in the instances in the replicate follows the order of the features creating it's based on so it should be fairly simple to get a predictable order in the config table!
I'll see if my plan works out!