Catalog PyPI
PACKAGE EXPLORERView in registry

3pc-panel

PyPI

A 3pc Python library used to define a composite panel.

Versions collected1
Direct dependencies3From release 1.0.0
Last observed20 Oct, 15:35 UTC

README

Version 1.0.0 documentation

3pc-panel

3pc-panel is a Python library used to define a composite panel. It provides a Panel class to define the panel's geometry, laminate properties, and boundary conditions, built upon the Laminate class (provided by the 3pc-laminate package).

Installation

Use the package manager pip to install 3pc-panel. Since 3pc-panel and its dependencies are publicly available on PyPI, you can install them directly:

pip install 3pc-panel 3pc-laminate 3pc-ply 3pc-material 3pc-utils

API Reference

Panel Class

The primary component of this package is the Panel class, which holds panel properties and its laminate configuration.

from panel.panel import Panel

Required Parameters

When initializing Panel directly, the following parameters are required:

  • panelID (str): Panel identifier.
  • length (float): Panel length, along x direction.
  • width (float): Panel width, along y direction.
  • laminate (Laminate): Panel laminate object.
  • boundary_condition (str): Panel boundary condition (e.g., "SSSS" for all sides simply supported).

Methods

Panel.fromDict(**kwargs)

Initializes a Panel instance using a dictionary of keyword arguments.


Usage Examples

Basic Initialization

Below is an example of defining a panel using a laminate.

from material.orthotropic import Orthotropic
from ply.ply import Ply
from laminate.laminate import Laminate
from panel.panel import Panel

# Define the material
zg_material = Orthotropic(
    matID="zg",
    E1=181.0, 
    E2=10.3,
    G12=7.17, 
    G13=7.17, 
    G23=7.17, 
    v12=0.28,
    rho=1.5
)

# Define plies
ply_0 = Ply(plyID="1", angle=0.0, material=zg_material, thickness=0.125)
ply_90 = Ply(plyID="2", angle=90.0, material=zg_material, thickness=0.125)

# Define laminate (0/90)s
lam = Laminate(
    lamID="lam_01", 
    stacking_sequence=[ply_0, ply_90, ply_90, ply_0],
    offset="mid"
)

# Define panel
pnl = Panel(
    panelID="panel_01", 
    length=10.0, 
    width=5.0, 
    laminate=lam, 
    boundary_condition="SSSS"
)
pnl.number_of_terms = 8

Commands

The package provides a command-line interface entry point. After installing, you can run the main application using:

panel

(Currently, this serves as an entry point defined in panel.main:main)

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
1.0.030 Apr 20263

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 15:35 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:03786a6a873d69fc79423919938b7d5098965866d94741cbee7550813dc67280