Translations:Macro HilbertCurve/41/en

titleLabel = QtGui.QLabel("Create an Hilbert curve in two or three dimensions") # Title and subtitle titleFont = QtGui.QFont titleFont.setBold(True) titleFont.setWeight(75) titleLabel.setFont(titleFont) subtitleLabel = QtGui.QLabel("This macro creates a wire in the draft workbench\nwith the shape of an Hilbert curve in two or three dimensions.\nFor example, you can use this wire as a sweep path.\nIt's recommended to apply a radius at the wire,\nin order to obtain a correct sweep generation.") titleBox = QtGui.QVBoxLayout titleBox.addWidget(titleLabel) titleBox.addWidget(subtitleLabel) titleBox.insertStretch(-1)